Class JDBCWorkflowFactory

All Implemented Interfaces:
FunctionProvider, WorkflowFactory, Serializable

public class JDBCWorkflowFactory extends XMLWorkflowFactory implements FunctionProvider
Workflow Factory that stores workflows in a database. The database requires a property called 'datasource' which is the JNDI name of the datasource for this factory.

Also required is a database table called OS_WORKFLOWDEFS with two columns, WF_NAME which contains the workflow name, and WF_DEFINITION which will contain the xml workflow descriptor, the latter can be either a TEXT or BINARY type.

Note that this class is provided as an example, and users are encouraged to use their own implementations that are more suited to their particular needs.

Author:
Hubert Felber, Philipp Hug Date: May 01, 2003 Time: 11:17:06 AM
See Also: