org.jwarp.flow.process
Class ProcessFactory
java.lang.Object
|
+--org.jwarp.flow.process.ProcessFactory
- All Implemented Interfaces:
- IExceptionProvider, IProcessFactory
- public abstract class ProcessFactory
- extends java.lang.Object
- implements IProcessFactory
|
Field Summary |
(package private) java.util.List |
activities
|
(package private) java.util.List |
participants
|
(package private) java.util.List |
roles
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roles
java.util.List roles
participants
java.util.List participants
activities
java.util.List activities
ProcessFactory
public ProcessFactory()
getRoles
public java.util.Iterator getRoles()
- Get all the roles.
- Returns:
- The roles.
getParticipants
public java.util.Iterator getParticipants()
- Get all the participant types.
- Returns:
- The participant types.
getActivities
public java.util.Iterator getActivities()
- Get the activities.
- Returns:
- The activities.
run
public void run(IWorkflowContext context,
IProcess superProcess)
- Start the process, The process will create and initialize a process instance which will
then will be put into the work item handler to be started immedeately.
- Specified by:
run in interface IProcessFactory
- Parameters:
context - The workflow context
addExceptionListener
public void addExceptionListener(IExceptionListener handler)
- Specified by:
addExceptionListener in interface IExceptionProvider
getExceptionListeners
public java.util.Iterator getExceptionListeners()
- Specified by:
getExceptionListeners in interface IExceptionProvider
removeAllExceptionListeners
public void removeAllExceptionListeners()
- Specified by:
removeAllExceptionListeners in interface IExceptionProvider
removeExceptionListener
public void removeExceptionListener(IExceptionListener listener)
- Specified by:
removeExceptionListener in interface IExceptionProvider