Uses of Interface
org.springframework.aop.MethodMatcher
Package
Description
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
AspectJ integration package.
Convenience classes for using Spring's AOP API.
Annotation support for AOP pointcuts.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
-
Uses of MethodMatcher in org.springframework.aop
Modifier and TypeInterfaceDescriptioninterface
A specialized type ofMethodMatcher
that takes into account introductions when matching methods.Modifier and TypeFieldDescriptionstatic final MethodMatcher
MethodMatcher.TRUE
Canonical instance of aMethodMatcher
that matches all methods.Modifier and TypeMethodDescriptionPointcut.getMethodMatcher()
Return the MethodMatcher for this pointcut. -
Uses of MethodMatcher in org.springframework.aop.aspectj
Modifier and TypeClassDescriptionclass
SpringPointcut
implementation that uses the AspectJ weaver to evaluate a pointcut expression. -
Uses of MethodMatcher in org.springframework.aop.support
Modifier and TypeClassDescriptionclass
Abstract base regular expression pointcut bean.class
Pointcut and method matcher for use in simple cflow-style pointcut.class
Convenient abstract superclass for dynamic method matchers, which do care about arguments at runtime.class
Convenient superclass when we want to force subclasses to implement MethodMatcher interface, but subclasses will want to be pointcuts.class
Regular expression pointcut based on thejava.util.regex
package.class
Pointcut bean for simple method name matches, as an alternative to regexp patterns.class
Convenient abstract superclass for static method matchers, which don't care about arguments at runtime.class
Convenient superclass when we want to force subclasses to implement theMethodMatcher
interface but subclasses will want to be pointcuts.class
Convenient base class for Advisors that are also static pointcuts.Modifier and TypeMethodDescriptionComposablePointcut.getMethodMatcher()
ControlFlowPointcut.getMethodMatcher()
final MethodMatcher
DynamicMethodMatcherPointcut.getMethodMatcher()
final MethodMatcher
StaticMethodMatcherPointcut.getMethodMatcher()
static MethodMatcher
MethodMatchers.intersection
(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static MethodMatcher
MethodMatchers.negate
(MethodMatcher methodMatcher) Return a method matcher that represents the logical negation of the specified matcher instance.static MethodMatcher
MethodMatchers.union
(MethodMatcher mm1, MethodMatcher mm2) Match all methods that either (or both) of the given MethodMatchers matches.Modifier and TypeMethodDescriptionComposablePointcut.intersection
(MethodMatcher other) Apply an intersection with the given MethodMatcher.static MethodMatcher
MethodMatchers.intersection
(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static boolean
MethodMatchers.matches
(MethodMatcher mm, Method method, Class<?> targetClass, boolean hasIntroductions) Apply the given MethodMatcher to the given Method, supporting anIntroductionAwareMethodMatcher
(if applicable).static MethodMatcher
MethodMatchers.negate
(MethodMatcher methodMatcher) Return a method matcher that represents the logical negation of the specified matcher instance.ComposablePointcut.union
(MethodMatcher other) Apply a union with the given MethodMatcher.static MethodMatcher
MethodMatchers.union
(MethodMatcher mm1, MethodMatcher mm2) Match all methods that either (or both) of the given MethodMatchers matches.ModifierConstructorDescriptionComposablePointcut
(ClassFilter classFilter, MethodMatcher methodMatcher) Create a ComposablePointcut for the given ClassFilter and MethodMatcher.ComposablePointcut
(MethodMatcher methodMatcher) Create a ComposablePointcut for the given MethodMatcher, withClassFilter.TRUE
. -
Uses of MethodMatcher in org.springframework.aop.support.annotation
Modifier and TypeClassDescriptionclass
SimpleMethodMatcher
that looks for a specific annotation being present on a method (checking both the method on the invoked interface, if any, and the corresponding method on the target class). -
Uses of MethodMatcher in org.springframework.cache.jcache.interceptor
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.since 6.0.10, as it is not used by the framework anymore