intra-mart(R) 6.0.13

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

java.lang.Object
  拡張jp.co.intra_mart.framework.base.event.EJBEventListenerAgentBean
      拡張jp.co.intra_mart.framework.base.event.GenericEJBEventListenerAgentBean
すべての実装インタフェース:
EnterpriseBean, Serializable, SessionBean

public class GenericEJBEventListenerAgentBean
extends EJBEventListenerAgentBean

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

バージョン:
1.0
関連項目:
直列化された形式

フィールドの概要
 
クラス jp.co.intra_mart.framework.base.event.EJBEventListenerAgentBean から継承したフィールド
sessionContext
 
コンストラクタの概要
GenericEJBEventListenerAgentBean()
          GenericEJBEventListenerAgentBeanを新規に生成します。
 
メソッドの概要
 void ejbCreate()
          ホームインタフェースの引数なしのcreate()メソッドに対応します。
 EventResult execute(Event event, String listenerName)
          イベント処理を実行します。
 
クラス jp.co.intra_mart.framework.base.event.EJBEventListenerAgentBean から継承したメソッド
dispatchEvent, ejbActivate, ejbPassivate, ejbRemove, setSessionContext
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GenericEJBEventListenerAgentBean

public GenericEJBEventListenerAgentBean()
GenericEJBEventListenerAgentBeanを新規に生成します。

メソッドの詳細

ejbCreate

public void ejbCreate()
ホームインタフェースの引数なしのcreate()メソッドに対応します。


execute

public EventResult execute(Event event,
                           String listenerName)
                    throws ApplicationException,
                           SystemException,
                           EJBException
イベント処理を実行します。 listenerNameはStandardEventListenerを継承したクラスであり、引数を持たないコンストラクタが存在する必要があります。

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

intra-mart(R) 6.0.13

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