intra-mart(R)
5.0

jp.co.intra_mart.framework.base.event
クラス GenericEJBEventListener

java.lang.Object
  拡張jp.co.intra_mart.framework.base.event.EJBEventListener
      拡張jp.co.intra_mart.framework.base.event.GenericEJBEventListener
すべての実装インタフェース:
EventListener

public class GenericEJBEventListener
extends EJBEventListener

EJBを利用する汎用的なイベントリスナです。

バージョン:
1.0

コンストラクタの概要
GenericEJBEventListener(GenericEJBEventListenerAgentHome home, String listenerName)
          GenericEJBEventListenerを新規に生成します。
 
メソッドの概要
 EventResult execute(Event event)
          処理を実行します。
 
クラス jp.co.intra_mart.framework.base.event.EJBEventListener から継承したメソッド
dispatchEvent, setInTransaction
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GenericEJBEventListener

public GenericEJBEventListener(GenericEJBEventListenerAgentHome home,
                               String listenerName)
GenericEJBEventListenerを新規に生成します。

パラメータ:
home - ホームインタフェースGenericEJBEventListenerAgentHome
listenerName - 実際に処理を行うStandardEventListenerのクラス名
メソッドの詳細

execute

public EventResult execute(Event event)
                    throws SystemException,
                           ApplicationException
処理を実行します。 イベントを元に処理を実行します。 このインタフェースを実装するすべてのクラスは、 すべてのイベントトリガを実行した後に処理を 実行するように設計されている必要があります。

パラメータ:
event - イベント
戻り値:
イベント処理結果
例外:
ApplicationException - イベント処理時にアプリケーション例外が発生
SystemException - システム処理時にアプリケーション例外が発生

intra-mart(R)
5.0

Copyright © 2000-2005 NTT DATA INTRAMART CO.,LTD. All Rights Reserved.