Package org.jbpm.kie.services.impl

Examples of org.jbpm.kie.services.impl.KModuleDeploymentUnit


   
    @Test
    public void testDeployAndStartUserTaskProcessProcessInstanceStrategy() {
        assertNotNull(processService);
       
        KModuleDeploymentUnit unit = new KModuleDeploymentUnit(GROUP_ID, ARTIFACT_ID, VERSION);
        processService.deployUnit(unit);
        unit.setStrategy(RuntimeStrategy.PER_PROCESS_INSTANCE);
        logger.info("TEST:Unit {} has been deployed", unit);
        Collection<ProcessDesc> processes = processService.getProcesses();
        assertNotNull(processes);
        assertEquals(2, processes.size());
       
        RuntimeManager manager = processService.getRuntimeManager(unit.getIdentifier());
        assertNotNull(manager);
       
        RuntimeEngine engine = manager.getRuntimeEngine(ProcessInstanceIdContext.get());
        assertNotNull(engine);
       
View Full Code Here

TOP

Related Classes of org.jbpm.kie.services.impl.KModuleDeploymentUnit

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.