SenderPreProcessHandlerInterface

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 BCGSenderException

Parameters

context
Runtime information such as temp directory path

handlerConfig
The object storing configuration information

Method

applies

Method description

Determines if handler can handle business document

Syntax

public boolean applies(BusinessDocumentInterface doc)
              throws BCGSenderException

Parameters

doc
The BusinessDocument that is being processed

Method

process

Method description

Performs pre-processing by updating the BusinessDocument

Syntax

public BusinessDocumentInterface process(BusinessDocumentInterface doc)
               throws BCGSenderException

Parameters

doc
The BusinessDocument that is being processed

Copyright IBM Corp. 2003, 2004