クラスの使用
org.springframework.aop.framework.AopConfigException
AopConfigException を使用するパッケージ
パッケージ
説明
AspectJ 5 @Annotated クラスを Spring AOP で使用できるようにするクラス。
AOP アライアンスインターフェースに準拠した Spring の基本的な AOP インフラストラクチャを含むパッケージ。
org.springframework.aop.aspectj.annotation 内の AopConfigException 使用
修飾子と型クラス説明classAspectJ アノテーションスタイルのアスペクトではないクラスでアドバイザー生成操作を実行しようとしたときにスローされる AopConfigException の拡張。org.springframework.aop.framework 内の AopConfigException 使用
AopConfigException をスローする org.springframework.aop.framework のメソッド修飾子と型メソッド説明void指定された AOP アライアンスアドバイスをアドバイスチェーンの指定された位置に追加します。void与えられた AOP アライアンスアドバイスをアドバイス(インターセプター)チェーンの末尾に追加します。voidアドバイスが IntroductionInfo を実装しない限り、この方法で導入を追加することはできません。voidvoidAdvised.addAdvisor(int pos, Advisor advisor) チェーンの指定された位置に Advisor を追加します。voidAdvised.addAdvisor(Advisor advisor) アドバイザーチェーンの最後にアドバイザーを追加します。voidAdvisedSupport.addAdvisor(int pos, Advisor advisor) AopProxyFactory.createAopProxy(AdvisedSupport config) 指定された AOP 構成のAopProxyを作成します。DefaultAopProxyFactory.createAopProxy(AdvisedSupport config) booleanAdvisedSupport.removeAdvice(Advice advice) voidAdvised.removeAdvisor(int index) 指定されたインデックスにあるアドバイザーを削除します。voidAdvisedSupport.removeAdvisor(int index) booleanAdvised.replaceAdvisor(Advisor a, Advisor b) 指定されたアドバイザーを置き換えます。booleanAdvisedSupport.replaceAdvisor(Advisor a, Advisor b)