BusinessProcessHandlerInterface

Handlers for fixed inbound and fixed outbound workflow must implement this interface. It has the following three methods:

Method

init

Method description

Initializes the handler by reading the configuration properties in the Config object

Syntax

public void init(Context context, 
                           Config config)

Parameters

context
Runtime information such as temp directory path

config
Configuration information set by the Console

Method

applies

Method description

Determines if handler can process business document.

Syntax

public boolean applies(BusinessDocumentInterface bDoc)

Parameters

bDoc
The business document being processed

Method

process

Method description

Executes the necessary business logic on the document

Syntax

public BusinessDocumentInterface process(BusinessDocumentInterface bDoc)

Parameters

bDocTerm
The business document being processed

Copyright IBM Corp. 2003, 2004