SenderPostProcessHandlerInterface

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 the applicable message

Syntax

public boolean applies(BusinessDocumentInterface doc)
             throws BCGRSenderException

Parameters

doc
The BusinessDocument that is being processed

Method

process

Method description

Performs post-processing on delivery response by updating the SenderResult object.

Syntax

public SenderResult process(SenderResult response,
                               BusinessDocumentInterface doc)
              throws BCGReceiverException

Parameters

response
The Sender Result object to be updated

doc
The BusinessDocument that is being processed

Copyright IBM Corp. 2003, 2004