public class EventContainerImpl extends Object implements EventContainer
EVENT_PROPERTY_HANDLER_KEY
コンストラクタと説明 |
---|
EventContainerImpl()
EventContainerImplを生成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Event |
createEvent(String application,
String key)
パラメータで指定された内容に該当するイベントを生成します。
|
EventResult |
dispatch(Event event,
boolean transaction)
イベントに対する処理を実行します。
|
EventPropertyHandler |
getEventPropertyHandler()
イベントプロパティハンドラを取得します。
|
void |
init()
EventContainerを初期化します。
|
public void init() throws IMContainerException
init
インタフェース内 IMContainer
IMContainerException
public EventPropertyHandler getEventPropertyHandler()
getEventPropertyHandler
インタフェース内 EventContainer
public Event createEvent(String application, String key) throws EventPropertyException, EventException
EventPropertyHandler
のパラメータで設定されていない場合、EmptyEvent
を返します。createEvent
インタフェース内 EventContainer
application
- アプリケーション名key
- キーEventException
- イベント生成に失敗EventPropertyException
- イベントプロパティの取得に失敗public EventResult dispatch(Event event, boolean transaction) throws EventException, SystemException, ApplicationException
dispatch
インタフェース内 EventContainer
event
- イベントtransaction
- トランザクションの中で実行されているかどうかを示すフラグ(トランザクション内の場合true、トランザクション外の場合false)EventException
- 不正なイベントが渡されたSystemException
- イベント処理時にシステム例外が発生ApplicationException
- イベント処理時にアプリケーション例外が発生Copyright © 2012 NTT DATA INTRAMART CORPORATION