SenderPreProcessHandlerInterface

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

メソッド

init
 

メソッドの説明

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

構文

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

パラメーター

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

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

メソッド

applies
 

メソッドの説明

ハンドラーがビジネス文書を処理できるかどうかを判別します。

構文

public boolean applies(BusinessDocumentInterface doc)
               throws BCGSenderException
 

パラメーター

doc
処理中の BusinessDocument

メソッド

process
 

メソッドの説明

BusinessDocument を更新して前処理を実行します。

構文

public BusinessDocumentInterface process(BusinessDocumentInterface doc)
                throws BCGSenderException
 

パラメーター

doc
処理中の BusinessDocument

Copyright IBM Corp. 1997, 2004