ReceiverPostProcessHandlerInterface

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

Method

init

Method description

Initializes the handler

Syntax

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

Parameters

context
The context in which the handler executes
handlerConfig
Handler configuration

Method

applies

Method description

The handler returns true if it can process the request document. Otherwise it returns false.

Syntax

public boolean applies(ReceiverDocumentInterface request response)
             throws BCGReceiverException

Parameters

request
The request document

Method

process

Method description

Postprocesses the response document. Returns an array of a receiver document.

Syntax

public ReceiverDocumentInterface[] process(
                            ReceiverDocumentInterface request response)
              throws BCGReceiverException

Parameters

request
The request document

Copyright IBM Corp. 2003, 2005