org.seasar.framework.ejb.impl
クラス EJB3InterceptorSupportInterceptor

java.lang.Object
  上位を拡張 org.seasar.framework.ejb.impl.EJB3InterceptorSupportInterceptor
すべての実装されたインタフェース:
Advice, Interceptor, MethodInterceptor

public class EJB3InterceptorSupportInterceptor
extends Object
implements MethodInterceptor

EJB3のインターセプタをサポートするAOP Alliance準拠のインターセプタです。

作成者:
koichik

フィールドの概要
protected  Class<?> interceptorClass
          EJB3インターセプタのクラス
protected  Field interceptorField
          EJB3インターセプタのインスタンスを保持するEJB3セッションビーンのフィールド。
protected  Method interceptorMethod
          AroundInvokeで注釈されたEJB3インターセプタのメソッド
 
コンストラクタの概要
EJB3InterceptorSupportInterceptor(Class<?> interceptorClass, Method interceptorMethod)
          インスタンスを構築します。
 
メソッドの概要
 Object invoke(MethodInvocation invocation)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

interceptorClass

protected Class<?> interceptorClass
EJB3インターセプタのクラス


interceptorMethod

protected Method interceptorMethod
AroundInvokeで注釈されたEJB3インターセプタのメソッド


interceptorField

protected Field interceptorField
EJB3インターセプタのインスタンスを保持するEJB3セッションビーンのフィールド。

このフィールドはEJB3InterceptorSupportInterTypeによってセッションビーンのクラスをエンハンスしたサブクラスに追加されます。

コンストラクタの詳細

EJB3InterceptorSupportInterceptor

public EJB3InterceptorSupportInterceptor(Class<?> interceptorClass,
                                         Method interceptorMethod)
インスタンスを構築します。

パラメータ:
interceptorClass - EJB3インターセプタのクラス
interceptorMethod - AroundInvokeで注釈されたEJB3インターセプタのメソッド
メソッドの詳細

invoke

public Object invoke(MethodInvocation invocation)
              throws Throwable
定義:
インタフェース MethodInterceptor 内の invoke
例外:
Throwable


Copyright © 2004-2009 The Seasar Foundation. All Rights Reserved.