インターフェースの使用
org.springframework.aop.MethodMatcher
MethodMatcher を使用するパッケージ
パッケージ
説明
AOP Alliance AOP 相互運用性インターフェース上に構築されたコア Spring AOP インターフェース。
AspectJ 統合パッケージ。
Spring の AOP API を使用するための便利なクラス。
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 インターフェースを実装させたいが、サブクラスはポイントカットにしたい場合に便利なスーパークラス。classjava.util.regexパッケージに基づく正規表現ポイントカット。class正規表現パターンの代替として、単純なメソッド名一致のためのポイントカット Bean。class静的メソッドマッチャー用の便利な抽象スーパークラス。実行時に引数を考慮しません。classサブクラスに強制的にMethodMatcherインターフェースを実装させたいが、サブクラスはポイントカットにしたい場合に便利なスーパークラス。class静的ポイントカットでもあるアドバイザの便利な基本クラス。MethodMatcher を返す org.springframework.aop.support のメソッド修飾子と型メソッド説明ComposablePointcut.getMethodMatcher()ControlFlowPointcut.getMethodMatcher()final MethodMatcherDynamicMethodMatcherPointcut.getMethodMatcher()final MethodMatcherStaticMethodMatcherPointcut.getMethodMatcher()static MethodMatcherMethodMatchers.intersection(MethodMatcher mm1, MethodMatcher mm2) 指定された MethodMatchers の両方が一致するすべてのメソッドに一致します。static MethodMatcherMethodMatchers.negate(MethodMatcher methodMatcher) 指定されたマッチャーインスタンスの論理否定を表すメソッドマッチャーを返します。static MethodMatcherMethodMatchers.union(MethodMatcher mm1, MethodMatcher mm2) 指定された MethodMatchers のいずれか(または両方)が一致するすべてのメソッドに一致します。型 MethodMatcher のパラメーターを持つ org.springframework.aop.support のメソッド修飾子と型メソッド説明ComposablePointcut.intersection(MethodMatcher other) 指定された MethodMatcher との交差を適用します。static MethodMatcherMethodMatchers.intersection(MethodMatcher mm1, MethodMatcher mm2) 指定された MethodMatchers の両方が一致するすべてのメソッドに一致します。static booleanMethodMatchers.matches(MethodMatcher mm, MethodSE method, ClassSE<?> targetClass, boolean hasIntroductions) 指定された MethodMatcher を指定されたメソッドに適用し、IntroductionAwareMethodMatcherをサポートします(該当する場合)。static MethodMatcherMethodMatchers.negate(MethodMatcher methodMatcher) 指定されたマッチャーインスタンスの論理否定を表すメソッドマッチャーを返します。ComposablePointcut.union(MethodMatcher other) 与えられた MethodMatcher でユニオンを適用します。static MethodMatcherMethodMatchers.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(呼び出されたインターフェースのメソッド(存在する場合)と、ターゲットクラスの対応するメソッドの両方をチェックします)。