クラス AopConfigUtils
java.lang.ObjectSE
org.springframework.aop.config.AopConfigUtils
AOP 自動プロキシ作成者の登録を処理するためのユーティリティクラス。
自動プロキシ作成者は 1 人だけ登録する必要がありますが、複数の具体的な実装を利用できます。このクラスはシンプルなエスカレーションプロトコルを提供し、呼び出し元が特定の自動プロキシ作成者をリクエストし、作成者またはそのより有能なバリアントがポストプロセッサーとして登録されることを認識できるようにします。
- 導入:
- 2.5
- 作成者:
- Rob Harrop, Juergen Hoeller, Mark Fisher
- 関連事項:
フィールドサマリー
フィールドコンストラクターのサマリー
コンストラクター方法の概要
修飾子と型メソッド説明static void
static void
static BeanDefinition
static BeanDefinition
registerAspectJAnnotationAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, ObjectSE source) static BeanDefinition
static BeanDefinition
registerAspectJAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, ObjectSE source) static BeanDefinition
static BeanDefinition
registerAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, ObjectSE source)
フィールドの詳細
AUTO_PROXY_CREATOR_BEAN_NAME
内部で管理されている自動プロキシ作成者の Bean 名。- 関連事項:
コンストラクターの詳細
AopConfigUtils
public AopConfigUtils()
メソッドの詳細
registerAutoProxyCreatorIfNecessary
@Nullable public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) registerAutoProxyCreatorIfNecessary
@Nullable public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, @Nullable ObjectSE source) registerAspectJAutoProxyCreatorIfNecessary
@Nullable public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) registerAspectJAutoProxyCreatorIfNecessary
@Nullable public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, @Nullable ObjectSE source) registerAspectJAnnotationAutoProxyCreatorIfNecessary
@Nullable public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) registerAspectJAnnotationAutoProxyCreatorIfNecessary
@Nullable public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, @Nullable ObjectSE source) forceAutoProxyCreatorToUseClassProxying
forceAutoProxyCreatorToExposeProxy