Package me.kafeitu.activiti

Examples of me.kafeitu.activiti.JavaServiceBean


    repositoryService.createDeployment().addInputStream("JavaServiceExpression.bpmn20.xml",
        new FileInputStream(filename)).deploy();
    RuntimeService runtimeService = activitiRule.getRuntimeService();
    Map<String, Object> variableMap = new HashMap<String, Object>();
    variableMap.put("name", "Activiti");
    variableMap.put("javaServiceBean", new JavaServiceBean());
    variableMap.put("delegateBean", new JavaServiceTaskDelegate());
    ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("JavaServiceExpression", variableMap);
    assertNotNull(processInstance.getId());
    System.out.println("id " + processInstance.getId() + " "
        + processInstance.getProcessDefinitionId());
View Full Code Here

TOP

Related Classes of me.kafeitu.activiti.JavaServiceBean

Copyright © 2018 www.massapicom. 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.