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