クラス DefaultAdvisorChainFactory
java.lang.ObjectSE
org.springframework.aop.framework.DefaultAdvisorChainFactory
- 実装されたすべてのインターフェース:
SerializableSE
,AdvisorChainFactory
public class DefaultAdvisorChainFactory
extends ObjectSE
implements AdvisorChainFactory, SerializableSE
Advised
オブジェクトが指定された、メソッドのアドバイスチェーンを実行する簡単で決定的な方法。常に各アドバイスチェーンを再構築します。キャッシングはサブクラスで提供できます。- 導入:
- 2.0.3
- 作成者:
- Juergen Hoeller, Rod Johnson, Adrian Colyer
- 関連事項:
フィールドサマリー
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明getInterceptorsAndDynamicInterceptionAdvice
(Advised config, MethodSE method, ClassSE<?> targetClass) 特定のアドバイザチェーン構成のMethodInterceptor
オブジェクトのリストを決定します。
フィールドの詳細
INSTANCE
このクラスのシングルトンインスタンス。- 導入:
- 6.0.10
コンストラクターの詳細
DefaultAdvisorChainFactory
public DefaultAdvisorChainFactory()
メソッドの詳細
getInterceptorsAndDynamicInterceptionAdvice
public ListSE<ObjectSE> getInterceptorsAndDynamicInterceptionAdvice(Advised config, MethodSE method, @Nullable ClassSE<?> targetClass) インターフェースからコピーされた説明:AdvisorChainFactory
特定のアドバイザチェーン構成のMethodInterceptor
オブジェクトのリストを決定します。- 次で指定:
- インターフェース
AdvisorChainFactory
のgetInterceptorsAndDynamicInterceptionAdvice
- パラメーター:
config
- Advised オブジェクト形式の AOP 構成method
- プロキシ方式targetClass
- ターゲットクラス (ターゲットオブジェクトのないプロキシを示すnull
の場合があります。その場合、メソッドの宣言クラスが次善のオプションです。)- 戻り値:
- MethodInterceptors のリスト (InterceptorAndDynamicMethodMatchers を含むこともあります)