View Javadoc
1 package org.smartcomps.twister.engine.mbean; 2 3 import org.w3c.dom.Document; 4 5 import java.util.Collection; 6 import java.util.Map; 7 8 /*** 9 * Management interface of the process engine allowing to list deployed 10 * processes, currently executing instances and monitor those instances.<br> 11 * Process can be activated or deactivated, when they are deactivated, no 12 * new process instance will be created from them, even an instance creation 13 * message is received. 14 */ 15 public interface EngineManagement { 16 17 /*** 18 * Returns all deployed processes names. 19 * @return Collection of process names (String) 20 */ 21 Collection listProcesses(); 22 23 /*** 24 * Returns all created instances of a process. 25 * @param processName 26 */ 27 Collection listInstances(String processName); 28 29 Document monitorInstance(Map correlationSet); 30 31 void activate(String processName); 32 33 void deactivate(String processName); 34 35 }

This page was automatically generated by Maven