ReceiverPreProcessHandlerInterface

このインターフェースは、すべての前処理ハンドラーが実装する必要のある 3 つのメソッドを記述します。これには次が含まれます。

メソッド

init
 

メソッドの説明

Config オブジェクトの構成プロパティーを読み取ってハンドラーを初期化します。

構文

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

パラメーター

context
一時ディレクトリー・パスなどのランタイム情報

handlerConfig
構成情報を格納するオブジェクト

メソッド

applies
 

メソッドの説明

ハンドラーが要求文書を処理できるかどうかを判別します。

構文

public boolean applies(ReceiverDocumentInterface request)
              throws BCGReceiverException
 

パラメーター

request
要求文書

メソッド

process
 

メソッドの説明

前処理を実行します。文書の配列を戻します。

構文

public ReceiverDocumentInterface[] process(
                                        ReceiverDocumentInterface request)
               throws BCGReceiverException
 

パラメーター

request
要求文書

Copyright IBM Corp. 1997, 2004