Examples of ActionHandler


Examples of org.jbpm.graph.def.ActionHandler

    super.onTearDown();
  }

  public void testRetrievalFromSpringContext() throws Exception {
    Action action = processDefinition.getAction("myAction");
    ActionHandler delegate = (ActionHandler) action.getActionDelegation().getInstance();

    // create the context and pass it on to the action
    ProcessInstance instance = processDefinition.createProcessInstance();
    // we have to use transient variables or otherwise HB will get in the way
    instance.getContextInstance().setTransientVariable(DummyActionHandler.TEST_LABEL,
        applicationContext.getBean("jbpmAction"));
    Token token = instance.getRootToken();

    delegate.execute(new ExecutionContext(token));
  }
View Full Code Here

Examples of org.jbpm.graph.def.ActionHandler

    log.debug("end testJbpmCloseSession");
  }

  public void testJbpmHandler() throws Exception {
    Action action = processDefinition.getAction("myAction");
    ActionHandler delegate = (ActionHandler) action.getActionDelegation().getInstance();

    // create the context and pass it on to the action
    ProcessInstance instance = processDefinition.createProcessInstance();
    // we have to use transient variables or otherwise HB will get in the way
    instance.getContextInstance().setTransientVariable(DummyActionHandler.TEST_LABEL,
        applicationContext.getBean("jbpmAction"));
    Token token = instance.getRootToken();

    delegate.execute(new ExecutionContext(token));
  }
View Full Code Here

Examples of org.jbpm.graph.def.ActionHandler

  /**
   * @see org.jbpm.graph.def.ActionHandler#execute(org.jbpm.graph.exe.ExecutionContext)
   */
  public void execute(ExecutionContext executionContext) throws Exception {
    ActionHandler action = (ActionHandler) lookupBean(ActionHandler.class);

    if (logger.isDebugEnabled())
      logger.debug("using Spring-managed actionHandler=" + action);

    action.execute(executionContext);
  }
View Full Code Here

Examples of org.jbpm.graph.def.ActionHandler

  /**
   * @see org.jbpm.graph.def.ActionHandler#execute(org.jbpm.graph.exe.ExecutionContext)
   */
  public void execute(ExecutionContext executionContext) throws Exception {
    ActionHandler action = (ActionHandler) lookupBean(ActionHandler.class);

    if (logger.isDebugEnabled())
      logger.debug("using Spring-managed actionHandler=" + action);

    action.execute(executionContext);
  }
View Full Code Here

Examples of org.jpedal.objects.acroforms.actions.ActionHandler

        currentComp<pageMap.length && pageMap[currentComp] == page; currentComp++) {
     
      int type=getFieldType(allFields[currentComp]);
     
      FormObject curForm = (FormObject)rawFormData.get(convertIDtoRef(currentComp));
      ActionHandler curHandler = acroRend.getActionHandler();
     
      //get the page object
      String pageRef = pdfDecoder.getReferenceforPage(currentPage);
      PageObject pdfObject=new PageObject(pageRef);
        currentPdfFile.readObject(pdfObject);
       
        //call commands on page viewed before action commands below
      curHandler.PV(pdfObject, PdfDictionary.AA);
     
      switch(type){
      case BUTTON_TYPE:
//      case FormFactory.checkboxbutton:
//      case FormFactory.radiobutton:
View Full Code Here

Examples of org.mockserver.mock.action.ActionHandler

    public MockServerHandler(MockServerMatcher mockServerMatcher, LogFilter logFilter, MockServer server, boolean secure) {
        this.mockServerMatcher = mockServerMatcher;
        this.logFilter = logFilter;
        this.server = server;
        this.secure = secure;
        this.actionHandler = new ActionHandler(logFilter);
    }
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.