BusinessProcessFactoryInterface

Each variable workflow step must implement this factory interface. It has the following methods:

Method

getBusinessProcess

Method description

Gets an instance of BusinessProcessInterface. The factory class constructs the BusinessProcess instance by calling the appropriate constructor, based on the configuration information that is passed in.

Syntax

public BusinessProcessInterface getBusinessProcess(
                                    Context context,
                                    Config workflowConfig,
                                    BusinessDocumentInterface bDoc)

Parameters

context
Runtime information such as temp directory path

workflowConfig
Configuration details as specified in the Console

bDoc
The business document being processed

Method

returnBusinessProcess

Method description

Returns BusinessProcess to factory. Called by BPE.

Syntax

public void returnBusinessProcess(BusinessProcessInterface bp)

Parameters

bp
The business process to be returned

Copyright IBM Corp. 2003, 2004