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
           
 
Constructor Summary
ProcessFactory()
           
 
Method Summary
 void addExceptionListener(IExceptionListener handler)
           
 java.util.Iterator getActivities()
          Get the activities.
 java.util.Iterator getExceptionListeners()
           
 java.util.Iterator getParticipants()
          Get all the participant types.
 java.util.Iterator getRoles()
          Get all the roles.
 void removeAllExceptionListeners()
           
 void removeExceptionListener(IExceptionListener listener)
           
 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.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jwarp.flow.process.IProcessFactory
getDescription, getName
 

Field Detail

roles

java.util.List roles

participants

java.util.List participants

activities

java.util.List activities
Constructor Detail

ProcessFactory

public ProcessFactory()
Method Detail

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

©   O R C A   S y s t e m s