ReceiverPreProcessHandlerInterface

This interface describes the three methods which all pre-process handlers must implement. They include:

Method

init

Method description

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

Syntax

public void init(Context context, Config handlerConfig)
              throws BCGReceiverException

Parameters

context
Runtime information such as temp directory path

handlerConfig
The object storing configuration information

Method

applies

Method description

Determines if handler can handle request document

Syntax

public boolean applies(ReceiverDocumentInterface request)
             throws BCGReceiverException

Parameters

request
The request document

Method

process

Method description

Performs pre-processing. Returns an array of documents

Syntax

public ReceiverDocumentInterface[] process(
                                       ReceiverDocumentInterface request)
              throws BCGReceiverException

Parameters

request
The request document

Copyright IBM Corp. 2003, 2004