インターフェースの使用
org.aopalliance.aop.Advice
Advice を使用するパッケージ
パッケージ
説明
AOP Alliance の反射インターセプト抽象化。
AOP Alliance AOP 相互運用性インターフェース上に構築されたコア Spring AOP インターフェース。
AspectJ 統合パッケージ。
AspectJ 5 @Annotated クラスを Spring AOP で使用できるようにするクラス。
AOP アライアンスインターフェースに準拠した Spring の基本的な AOP インフラストラクチャを含むパッケージ。
Spring AOP フレームワークが任意のアドバイス型を処理できるようにする SPI パッケージ。
その他のインターセプターの実装を提供します。
Spring の AOP API を使用するための便利なクラス。
宣言的キャッシング境界設定のための AOP ベースのソリューション。
JSR-107 アノテーションを使用した宣言的キャッシュ区分のための AOP ベースのソリューション。
標準コンテキストイベントなどのアプリケーションイベントのサポートクラス。
DAO のアノテーションサポート。
DAO 実装のクラスをサポートし、その他のユーティリティメソッドを提供します。
リモート MBean リソースへのアクセスをサポートします。
core.retry および Reactor に基づく再試行インターセプター配置。 非同期メソッド実行のアノテーションサポート。
宣言的なトランザクション区分のための AOP ベースのソリューション。
JSR-303 Bean 検証プロバイダー(Hibernate Validator など)を Spring ApplicationContext に、特に Spring のデータバインディングおよび検証 API と統合するためのサポートクラス。
org.aopalliance.intercept 内の Advice 使用
org.aopalliance.intercept 内の Advice サブインターフェース修飾子と型インターフェース説明interface新しいオブジェクトの構築をインターセプトします。interfaceこのインターフェースは、汎用インターセプターを表します。interfaceターゲットに向かう途中のインターフェース上のコールをインターセプトします。org.springframework.aop 内の Advice 使用
org.springframework.aop 内の Advice サブインターフェース修飾子と型インターフェース説明interfaceAfterReturningAdviceやThrowsAdviceなどのアフターアドバイスの共通マーカーインターフェース。interfaceAfter returning アドバイスは、通常のメソッドの戻り時にのみ呼び出され、例外がスローされた場合は呼び出されません。interfaceMethodBeforeAdviceなどのアドバイス前の共通マーカーインターフェース。interfaceAOP アライアンスアドバイスのサブインターフェース。これにより、アドバイスによって追加のインターフェースを実装でき、そのインターセプターを使用してプロキシ経由で利用できます。interfaceAOP Alliance MethodInterceptor のサブインターフェース。これにより、インターセプターが追加のインターフェースを実装し、そのインターセプターを使用するプロキシ経由で利用可能になります。interfaceメソッドが呼び出される前に呼び出されるアドバイス。interfaceスローアドバイスのタグインターフェース。Advice として宣言されている org.springframework.aop のフィールド修飾子と型フィールド説明static final AdviceAdvisor.EMPTY_ADVICE適切なアドバイスがまだ構成されていない場合に、Advisor.getAdvice()から返される空のAdviceの共通プレースホルダー。Advice を返す org.springframework.aop のメソッドorg.springframework.aop.aspectj 内の Advice 使用
Advice を実装している org.springframework.aop.aspectj のクラス修飾子と型クラス説明classAspectJ アスペクトまたは AspectJ アノテーション付きアドバイスメソッドをラップする AOPAllianceAdviceクラスの基本クラス。classSpring AOP アドバイスは、アドバイスメソッドの後に AspectJ をラップします。classSpring AOP アドバイスは、AspectJ の return 後のアドバイスメソッドをラップします。classSpring AOP アドバイスは、AspectJ のスロー後のアドバイスメソッドをラップします。classAspectJ アドバイスメソッドをラップする Spring AOP アドバイス(MethodInterceptor)。classメソッドの前に AspectJ をラップする Spring AOP アドバイス。Advice を返す org.springframework.aop.aspectj のメソッドorg.springframework.aop.aspectj.annotation 内の Advice 使用
修飾子と型メソッド説明AspectJAdvisorFactory.getAdvice(MethodSE candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, StringSE aspectName) 指定された AspectJ アドバイスメソッドの Spring AOP アドバイスを作成します。ReflectiveAspectJAdvisorFactory.getAdvice(MethodSE candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, StringSE aspectName) org.springframework.aop.framework 内の Advice 使用
型 Advice のパラメーターを持つ org.springframework.aop.framework のメソッド修飾子と型メソッド説明void指定された AOP アライアンスアドバイスをアドバイスチェーンの指定された位置に追加します。void与えられた AOP アライアンスアドバイスをアドバイス(インターセプター)チェーンの末尾に追加します。voidアドバイスが IntroductionInfo を実装しない限り、この方法で導入を追加することはできません。voidbooleanAdvisedSupport.adviceIncluded(@Nullable Advice advice) 与えられたアドバイスは、このプロキシ構成内のアドバイザーに含まれていますか?int指定された AOP アライアンスアドバイスの(0 からの)インデックスを返します。そのようなアドバイスがこのプロキシのアドバイスでない場合は -1 を返します。intbooleanAdvised.removeAdvice(Advice advice) 指定されたアドバイスを含むアドバイザを削除します。booleanAdvisedSupport.removeAdvice(Advice advice) org.springframework.aop.framework.adapter 内の Advice 使用
Advice を実装している org.springframework.aop.framework.adapter のクラス修飾子と型クラス説明classAfterReturningAdviceをラップするインターセプター。classMethodBeforeAdviceをラップするインターセプター。class投球後のアドバイスをまとめるインターセプター。型 Advice のパラメーターを持つ org.springframework.aop.framework.adapter のメソッド修飾子と型メソッド説明booleanAdvisorAdapter.supportsAdvice(Advice advice) このアダプターはこのアドバイスオブジェクトを理解しますか? このアドバイスを引数として含む Advisor でgetInterceptorsメソッドを呼び出すことは有効ですか?org.springframework.aop.interceptor 内の Advice 使用
Advice を実装している org.springframework.aop.interceptor のクラス修飾子と型クラス説明classパフォーマンスモニターなどのインターセプターを監視するための基本クラス。classトレース用のベースMethodInterceptor実装。class指定されたAsyncTaskExecutorを使用して、メソッド呼び出しを非同期的に処理する AOP AllianceMethodInterceptor。class同時アクセスを制限し、指定された同時実行制限に達した場合に呼び出しをブロックするインターセプター。classプレースホルダーを使用して高度にカスタマイズ可能なメソッドレベルのトレースを可能にするMethodInterceptor実装。classAOP AllianceMethodInterceptor。チェーンに導入して、インターセプトされた呼び出しに関する詳細情報をロガーに表示できます。final class現在のMethodInvocationをスレッドローカルオブジェクトとして公開するインターセプター。classパフォーマンス監視用のシンプルな AOP AllianceMethodInterceptor。classチェーンに導入して、インターセプトされたメソッド呼び出しに関する詳細なトレース情報を、メソッドのエントリとメソッドの終了情報とともに表示できるシンプルな AOP AllianceMethodInterceptor。org.springframework.aop.support 内の Advice 使用
Advice を実装している org.springframework.aop.support のクラス修飾子と型クラス説明classIntroductionInterceptorインターフェースの便利な実装。classIntroductionInterceptorインターフェースの便利な実装。Advice を返す org.springframework.aop.support のメソッド修飾子と型メソッド説明AbstractBeanFactoryPointcutAdvisor.getAdvice()AbstractGenericPointcutAdvisor.getAdvice()DefaultIntroductionAdvisor.getAdvice()StaticMethodMatcherPointcutAdvisor.getAdvice()型 Advice のパラメーターを持つ org.springframework.aop.support のメソッド修飾子と型メソッド説明voidターゲットアドバイスの特定のインスタンスを直接指定して、AbstractBeanFactoryPointcutAdvisor.getAdvice()の遅延解決を回避します。voidこのアドバイザーが適用するべきアドバイスを指定してください。void型 Advice のパラメーターを持つ org.springframework.aop.support のコンストラクター修飾子コンストラクター説明DefaultIntroductionAdvisor(Advice advice) 指定されたアドバイスの DefaultIntroductionAdvisor を作成します。DefaultIntroductionAdvisor(Advice advice, @Nullable IntroductionInfo introductionInfo) 指定されたアドバイスの DefaultIntroductionAdvisor を作成します。DefaultPointcutAdvisor(Advice advice) すべてのメソッドに一致する DefaultPointcutAdvisor を作成します。DefaultPointcutAdvisor(Pointcut pointcut, Advice advice) ポイントカットとアドバイスを指定して、DefaultPointcutAdvisor を作成します。NameMatchMethodPointcutAdvisor(Advice advice) RegexpMethodPointcutAdvisor(StringSE[] patterns, Advice advice) 指定されたアドバイスの RegexpMethodPointcutAdvisor を作成します。RegexpMethodPointcutAdvisor(StringSE pattern, Advice advice) 指定されたアドバイスの RegexpMethodPointcutAdvisor を作成します。RegexpMethodPointcutAdvisor(Advice advice) 指定されたアドバイスの RegexpMethodPointcutAdvisor を作成します。与えられたアドバイスのために新しい StaticMethodMatcherPointcutAdvisor を作成します。org.springframework.cache.interceptor 内の Advice 使用
Advice を実装している org.springframework.cache.interceptor のクラス修飾子と型クラス説明class共通の Spring キャッシングインフラストラクチャ(Cache)を使用した宣言的なキャッシュ管理のための AOP Alliance MethodInterceptor。org.springframework.cache.jcache.interceptor 内の Advice 使用
Advice を実装している org.springframework.cache.jcache.interceptor のクラス修飾子と型クラス説明classJSR-107 キャッシングアノテーションを使用した宣言的キャッシュ管理のための AOP Alliance MethodInterceptor。org.springframework.context.event 内の Advice 使用
Advice を実装している org.springframework.context.event のクラス修飾子と型クラス説明class各ApplicationEventPublisherで登録されたすべてのApplicationListenersにApplicationEventを発行するInterceptorは、各メソッド呼び出しが成功した後。org.springframework.dao.annotation 内の Advice 使用
Advice を返す org.springframework.dao.annotation のメソッドorg.springframework.dao.support 内の Advice 使用
Advice を実装している org.springframework.dao.support のクラス修飾子と型クラス説明classAOP Alliance MethodInterceptor。所定の PersistenceExceptionTranslator に基づいて永続性例外変換を提供します。org.springframework.jmx.access 内の Advice 使用
Advice を実装している org.springframework.jmx.access のクラス修飾子と型クラス説明class指定されたMBeanServerConnectionで実行されている MBean に呼び出しをルーティングするMethodInterceptor。classローカルまたはリモートで実行されている管理対象リソースへのプロキシを作成します。org.springframework.resilience.retry 内の Advice 使用
Advice を実装している org.springframework.resilience.retry のクラス修飾子と型クラス説明class特定の再試行仕様をRetryTemplateまたは Reactor のいずれかに適合させる抽象再試行インターセプター実装。class指定されたMethodRetrySpecに基づいた、単純な具体的な再試行インターセプター。org.springframework.scheduling.annotation 内の Advice 使用
Advice を実装している org.springframework.scheduling.annotation のクラス修飾子と型クラス説明class修飾子と型メソッド説明protected AdviceAsyncAnnotationAdvisor.buildAdvice(@Nullable SupplierSE<? extends @Nullable ExecutorSE> executor, @Nullable SupplierSE<? extends @Nullable AsyncUncaughtExceptionHandler> exceptionHandler) AsyncAnnotationAdvisor.getAdvice()org.springframework.transaction.interceptor 内の Advice 使用
Advice を実装している org.springframework.transaction.interceptor のクラス修飾子と型クラス説明class共通の Spring トランザクションインフラストラクチャ(PlatformTransactionManager/ReactiveTransactionManager)を使用した宣言的トランザクション管理のための AOP Alliance MethodInterceptor。org.springframework.validation.beanvalidation 内の Advice 使用
Advice を実装している org.springframework.validation.beanvalidation のクラス修飾子と型クラス説明classアノテーション付きメソッドでメソッドレベルの検証を実行するために JSR-303 プロバイダーに委譲する AOP アライアンスMethodInterceptor実装。修飾子と型メソッド説明protected AdviceMethodValidationPostProcessor.createMethodValidationAdvice(SupplierSE<jakarta.validation.Validator> validator) メソッド検証の目的で AOP アドバイスを作成し、指定された「検証済み」アノテーションのポイントカットを適用します。