インターフェースの使用
org.springframework.aop.MethodMatcher
MethodMatcher を使用するパッケージ
パッケージ
説明
AOP Alliance AOP 相互運用性インターフェース上に構築されたコア Spring AOP インターフェース。
AspectJ 統合パッケージ。
Spring の AOP API を使用するための便利なクラス。
AOP ポイントカットのアノテーションサポート。
JSR-107 アノテーションを使用した宣言的キャッシュ区分のための AOP ベースのソリューション。
org.springframework.aop 内の MethodMatcher 使用
org.springframework.aop 内の MethodMatcher サブインターフェースMethodMatcher として宣言されている org.springframework.aop のフィールドMethodMatcher を返す org.springframework.aop のメソッドorg.springframework.aop.aspectj 内の MethodMatcher 使用
MethodMatcher を実装している org.springframework.aop.aspectj のクラスMethodMatcher を返す org.springframework.aop.aspectj のメソッドorg.springframework.aop.support 内の MethodMatcher 使用
MethodMatcher を実装している org.springframework.aop.support のクラス修飾子と型クラス説明class
抽象基本正規表現ポイントカット Bean。class
単純な cflow -style ポイントカットとして使用するためのポイントカットおよびメソッドマッチャー。class
動的メソッドマッチャーのための便利な抽象スーパークラス。実行時に引数を考慮します。class
サブクラスに MethodMatcher インターフェースを実装させたいが、サブクラスはポイントカットにしたい場合に便利なスーパークラス。class
java.util.regex
パッケージに基づく正規表現ポイントカット。class
正規表現パターンの代替として、単純なメソッド名一致のためのポイントカット Bean。class
静的メソッドマッチャー用の便利な抽象スーパークラス。実行時に引数を考慮しません。class
サブクラスに強制的にMethodMatcher
インターフェースを実装させたいが、サブクラスはポイントカットにしたい場合に便利なスーパークラス。class
静的ポイントカットでもあるアドバイザの便利な基本クラス。MethodMatcher を返す org.springframework.aop.support のメソッド修飾子と型メソッド説明ComposablePointcut.getMethodMatcher()
ControlFlowPointcut.getMethodMatcher()
final MethodMatcher
DynamicMethodMatcherPointcut.getMethodMatcher()
final MethodMatcher
StaticMethodMatcherPointcut.getMethodMatcher()
static MethodMatcher
MethodMatchers.intersection
(MethodMatcher mm1, MethodMatcher mm2) 指定された MethodMatchers の両方が一致するすべてのメソッドに一致します。static MethodMatcher
MethodMatchers.negate
(MethodMatcher methodMatcher) 指定されたマッチャーインスタンスの論理否定を表すメソッドマッチャーを返します。static MethodMatcher
MethodMatchers.union
(MethodMatcher mm1, MethodMatcher mm2) 指定された MethodMatchers のいずれか(または両方)が一致するすべてのメソッドに一致します。型 MethodMatcher のパラメーターを持つ org.springframework.aop.support のメソッド修飾子と型メソッド説明ComposablePointcut.intersection
(MethodMatcher other) 指定された MethodMatcher との交差を適用します。static MethodMatcher
MethodMatchers.intersection
(MethodMatcher mm1, MethodMatcher mm2) 指定された MethodMatchers の両方が一致するすべてのメソッドに一致します。static boolean
MethodMatchers.matches
(MethodMatcher mm, MethodSE method, ClassSE<?> targetClass, boolean hasIntroductions) 指定された MethodMatcher を指定されたメソッドに適用し、IntroductionAwareMethodMatcher
をサポートします(該当する場合)。static MethodMatcher
MethodMatchers.negate
(MethodMatcher methodMatcher) 指定されたマッチャーインスタンスの論理否定を表すメソッドマッチャーを返します。ComposablePointcut.union
(MethodMatcher other) 与えられた MethodMatcher でユニオンを適用します。static MethodMatcher
MethodMatchers.union
(MethodMatcher mm1, MethodMatcher mm2) 指定された MethodMatchers のいずれか(または両方)が一致するすべてのメソッドに一致します。型 MethodMatcher のパラメーターを持つ org.springframework.aop.support のコンストラクター修飾子コンストラクター説明ComposablePointcut
(ClassFilter classFilter, MethodMatcher methodMatcher) 指定された ClassFilter および MethodMatcher の ComposablePointcut を作成します。ComposablePointcut
(MethodMatcher methodMatcher) ClassFilter.TRUE
を使用して、指定された MethodMatcher の ComposablePointcut を作成します。org.springframework.aop.support.annotation 内の MethodMatcher 使用
MethodMatcher を実装している org.springframework.aop.support.annotation のクラス修飾子と型クラス説明class
メソッドに存在する特定のアノテーションを検索する単純なMethodMatcher
(呼び出されたインターフェースのメソッド(存在する場合)と、ターゲットクラスの対応するメソッドの両方をチェックします)。org.springframework.cache.jcache.interceptor 内の MethodMatcher 使用
修飾子と型クラス説明class
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。6.0.10 以降、フレームワークでは使用されなくなったため