Examples of ActionService


Examples of org.apache.oozie.service.ActionService

    public void testService() throws Exception {
        assertNotNull(Services.get().get(ActionService.class));
    }

    public void testActions() throws Exception {
        ActionService as = Services.get().get(ActionService.class);
        assertNotNull(as.getExecutor("switch"));
    }
View Full Code Here

Examples of org.apache.oozie.service.ActionService

    }

    public void testActions() throws Exception {
        Services services = new Services();
        services.init();
        ActionService as = services.get(ActionService.class);
        assertNotNull(as.getExecutor("switch"));
        services.destroy();
    }
View Full Code Here

Examples of org.apache.oozie.service.ActionService

    public void testService() throws Exception {
        assertNotNull(Services.get().get(ActionService.class));
    }

    public void testActions() throws Exception {
        ActionService as = Services.get().get(ActionService.class);
        assertNotNull(as.getExecutor("switch"));
    }
View Full Code Here

Examples of org.apache.oozie.service.ActionService

    }

    public void testActions() throws Exception {
        Services services = new Services();
        services.init();
        ActionService as = services.get(ActionService.class);
        assertNotNull(as.getExecutor("switch"));
        services.destroy();
    }
View Full Code Here

Examples of org.apache.oozie.service.ActionService

                    newAction.setCreatedTime(new Date());
                    insertList.add(newAction);
                    LOG.debug("SignalXCommand: Name: " + newAction.getName() + ", Id: " + newAction.getId()
                            + ", Authcode:" + newAction.getCred());
                    if (wfAction != null) { // null during wf job submit
                        ActionService as = Services.get().get(ActionService.class);
                        ActionExecutor current = as.getExecutor(wfAction.getType());
                        LOG.trace("Current Action Type:" + current.getClass());
                        if (!suspendNewAction) {
                            if (!(current instanceof ForkActionExecutor) && !(current instanceof StartActionExecutor)) {
                                // Excluding :start: here from executing first action synchronously since it
                                // blocks the consumer thread till the action is submitted to Hadoop,
View Full Code Here

Examples of org.as.jtrello.actions.ActionService

    this.boards     = new BoardService(config);
    this.lists      = new ListService(config);
    this.cards      = new CardService(config);
    this.checklists    = new ChecklistService(config);
    this.notifications  = new NotificationService(config);
    this.actions    = new ActionService(config);
   
  }
View Full Code Here

Examples of org.openhab.core.scriptengine.action.ActionService

   
    // add all actions that are contributed as OSGi services
    Object[] services = ScriptActivator.actionServiceTracker.getServices();
    if(services!=null) {
      for(Object service : services) {
        ActionService actionService = (ActionService) service;
        literalClassNames.add(actionService.getActionClassName());
      }
    }
   
    literalClassNames.add(CollectionLiterals.class.getName());
    literalClassNames.add(InputOutput.class.getName());
View Full Code Here

Examples of org.openhab.core.scriptengine.action.ActionService

      return clazz;
    } catch(ClassNotFoundException e) {
      Object[] services = ScriptActivator.actionServiceTracker.getServices();
      if(services!=null) {
        for(Object service : services) {
          ActionService actionService = (ActionService) service;
          if(actionService.getActionClassName().equals(name)) {
            return actionService.getActionClass();
          }
        }
      }
    }
    throw new ClassNotFoundException();
View Full Code Here

Examples of org.openhab.core.scriptengine.action.ActionService

    if(call.getFeature().eContainer() instanceof JvmGenericType) {
      JvmGenericType type = (JvmGenericType) call.getFeature().eContainer();
      Object[] services = ScriptUIActivator.actionServiceTracker.getServices();
      if(services!=null) {
        for(Object service : services) {
          ActionService actionService = (ActionService) service;
          if(actionService.getActionClassName().equals(type.getIdentifier())) {
            for(Method m : actionService.getActionClass().getMethods()) {
              if(m.toString().contains((call.getFeature().getIdentifier()))) {
                return m;
              }
            }
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.