org.seasar.framework.container.customizer
クラス AspectCustomizer.LookupAdaptorInterceptor

java.lang.Object
  拡張org.seasar.framework.aop.interceptors.AbstractInterceptor
      拡張org.seasar.framework.container.customizer.AspectCustomizer.LookupAdaptorInterceptor
すべての実装インタフェース:
Advice, Interceptor, MethodInterceptor, java.io.Serializable
含まれているクラス:
AspectCustomizer

public static class AspectCustomizer.LookupAdaptorInterceptor
extends AbstractInterceptor

インスタンス属性がsingleton以外のインターセプタを呼び出すためのアダプタとなるインターセプタです。

このインターセプタは呼び出されると、 構築時に指定されたインターセプタをS2Containerから取得して処理を引き渡します。 そのため、 元々呼び出したいインターセプタのインスタンス属性がsingleton以外でも期待した結果を得ることが出来るようになります。

作成者:
koichik
関連項目:
直列化された形式

フィールドの概要
protected  java.lang.String[] interceptorNames
          インターセプタ名の配列です。
 
コンストラクタの概要
AspectCustomizer.LookupAdaptorInterceptor(java.lang.String[] interceptorNames)
          LookupAdaptorInterceptorのインスタンスを構築します。
 
メソッドの概要
 java.lang.Object invoke(MethodInvocation invocation)
           
 
クラス org.seasar.framework.aop.interceptors.AbstractInterceptor から継承したメソッド
createProxy, getComponentDef, getTargetClass
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

interceptorNames

protected java.lang.String[] interceptorNames
インターセプタ名の配列です。

コンストラクタの詳細

AspectCustomizer.LookupAdaptorInterceptor

public AspectCustomizer.LookupAdaptorInterceptor(java.lang.String[] interceptorNames)
LookupAdaptorInterceptorのインスタンスを構築します。

パラメータ:
interceptorNames - インターセプタ名の配列
メソッドの詳細

invoke

public java.lang.Object invoke(MethodInvocation invocation)
                        throws java.lang.Throwable
例外:
java.lang.Throwable


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