ReceiverSyncCheckHandlerInterface

This interface describes the three methods which all syncCheck handlers must implement. They include:

Sync check handlers are configured through the Community Console just as other handlers are.

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 BCGReceiverException

Parameters

context
Runtime information such as temp directory path

handlerConfig
The object storing configuration information

Method

applies

Method description

Determines if handler can handle request document

Syntax

public boolean applies(ReceiverDocumentInterface request)
             throws BCGReceiverException

Parameters

request
The request document

Method

syncCheck

Method description

Performs check to see if document is to be processed synchronously. The method returns true if the request is synchronous, false if asynchronous.

Syntax

public boolean syncCheck(ReceiverDocumentInterface request)
              throws BCGReceiverException

Parameters

request
The request document

Sync check handlers are configured through the Community Console just as other handlers are.

Copyright IBM Corp. 2003, 2004