SenderPostProcessHandlerInterface

This interface describes the methods that all postprocessing handlers must implement:

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
The name of an object that contains run-time context information for this interface
handlerConfig
The object that stores configuration information

Method

applies

Method description

Determines whether the handler can process the business document

Syntax

public boolean applies(BusinessDocumentInterface doc)
             throws BCGRSenderException

Parameters

doc
The business document that is being processed

Method

process

Method description

SenderFramework calls this method to process the delivery response and updates the SenderResult object with processing information.

Syntax

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

Parameters

response
The SenderResult object to be updated
doc
The business document that is being processed

Copyright IBM Corp. 2003, 2005