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

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

public class EJB3InterceptorSupportInterceptor
extends java.lang.Object
implements MethodInterceptor

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

作成者:
koichik

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

フィールドの詳細

interceptorClass

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


interceptorMethod

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


interceptorField

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

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

コンストラクタの詳細

EJB3InterceptorSupportInterceptor

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

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

invoke

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


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