ReceiverPreProcessHandlerInterface

This interface describes the methods that all preprocess 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)
             throws BCGReceiverException

Parameters

request
The request document

Method

process

Method description

Performs preprocessing. Returns an array of documents

Syntax

public ReceiverDocumentInterface[] process(
    ReceiverDocumentInterface request) throws BCGReceiverException

Parameters

request
The request document

Copyright IBM Corp. 2003, 2005