Java Reference
In-Depth Information
Organization
1
WorkflowModel
*
actors
Actor
WfRequester
WfResource
«interface»
WfProcess
1
1
1
performer
*
«interface»
WfAssignment
work_items
Figure 21.12
Workflow participants
WfBase
WfIteratorImpl
BaseIterator
WorkflowModel
WfActivityIteratorImpl
WfActivityIterator
WfProcessIteratorImpl
WfProcessIterator
Figure 21.13
Engine iterators
21.5.3
Implementation
The workflow engine is divided into three packages:
WorkflowModel
and
WfBase
which contain the
JFlow
interfaces, and
WfEngine
which contains all
the implementation classes.
The entry point of the WfMS is the
Catalog
class; it contains the collection of
available processes that are represented by instances of
WfProcessMgrImpl
. The
catalogue has two methods for browsing the process definitions:
getAll()
which