SenderPreProcessHandlerInterface

This interface describes the methods that all preprocessing 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 BCGSenderException

Parameters

doc
The business document that is being processed

Method

process

Method description

Called by SenderFramework to preprocess the request. This method updates the BusinessDocument class.

Syntax

public BusinessDocumentInterface process(BusinessDocumentInterface doc)
               throws BCGSenderException

Parameters

doc
The business document that is being processed

Copyright IBM Corp. 2003, 2005