|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BPMS
A generic interface for any Process Engine. Theoretically, any Process Engine can be "plugged into" Mule if it implements this interface.
MessageService
Method Summary | |
---|---|
void |
abortProcess(Object processId)
Abort a running process (end abnormally). |
Object |
advanceProcess(Object processId,
Object transition,
Map processVariables)
Advance an already-running process. |
void |
deployProcess(String resource)
Deploy (not start) a process to the BPMS based on a process definition file. |
Object |
getId(Object process)
|
Object |
getState(Object process)
|
boolean |
hasEnded(Object process)
|
boolean |
isProcess(Object obj)
|
Object |
lookupProcess(Object processId)
Looks up an already-running process. |
void |
setMessageService(MessageService msgService)
MessageService contains a callback method used to generate Mule messages from your process. |
Object |
startProcess(Object processType,
Object transition,
Map processVariables)
Start a new process. |
void |
undeployProcess(String resource)
Undeploy a process from the BPMS. |
Object |
updateProcess(Object processId,
Map processVariables)
Update the variables/parameters for an already-running process. |
Methods inherited from interface org.mule.api.NameableObject |
---|
setName |
Methods inherited from interface org.mule.api.NamedObject |
---|
getName |
Method Detail |
---|
void setMessageService(MessageService msgService)
MessageService
contains a callback method used to generate Mule messages from your process.
This method is REQUIRED.
msgService
- An interface within Mule which the BPMS may call to generate
Mule messages.void deployProcess(String resource) throws Exception
resource
- - process definition file
Exception
void undeployProcess(String resource) throws Exception
resource
- - process definition file
Exception
Object startProcess(Object processType, Object transition, Map processVariables) throws Exception
processType
- - the type of process to startprocessVariables
- - optional process variables/parameters to set
Exception
Object advanceProcess(Object processId, Object transition, Map processVariables) throws Exception
processId
- - an ID which identifies the running processtransition
- - optionally specify which transition to take from the
current stateprocessVariables
- - optional process variables/parameters to set
Exception
Object updateProcess(Object processId, Map processVariables) throws Exception
processId
- - an ID which identifies the running processprocessVariables
- - process variables/parameters to set
Exception
void abortProcess(Object processId) throws Exception
processId
- - an ID which identifies the running process
Exception
Object lookupProcess(Object processId) throws Exception
Exception
Object getId(Object process) throws Exception
Exception
Object getState(Object process) throws Exception
Exception
boolean hasEnded(Object process) throws Exception
Exception
boolean isProcess(Object obj) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |