Uses of Interface
org.springframework.aop.MethodMatcher
Packages that use 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
Subinterfaces of MethodMatcher in org.springframework.aopModifier and TypeInterfaceDescriptioninterface
A specialized type ofMethodMatcher
that takes into account introductions when matching methods.Fields in org.springframework.aop declared as MethodMatcherModifier and TypeFieldDescriptionstatic final MethodMatcher
MethodMatcher.TRUE
Canonical instance that matches all methods.Methods in org.springframework.aop that return MethodMatcherModifier and TypeMethodDescriptionPointcut.getMethodMatcher()
Return the MethodMatcher for this pointcut. -
Uses of MethodMatcher in org.springframework.aop.aspectj
Classes in org.springframework.aop.aspectj that implement MethodMatcherModifier and TypeClassDescriptionclass
SpringPointcut
implementation that uses the AspectJ weaver to evaluate a pointcut expression.Methods in org.springframework.aop.aspectj that return MethodMatcher -
Uses of MethodMatcher in org.springframework.aop.support
Classes in org.springframework.aop.support that implement MethodMatcherModifier 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.Methods in org.springframework.aop.support that return MethodMatcherModifier 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.union
(MethodMatcher mm1, MethodMatcher mm2) Match all methods that either (or both) of the given MethodMatchers matches.Methods in org.springframework.aop.support with parameters of type MethodMatcherModifier 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).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.Constructors in org.springframework.aop.support with parameters of type MethodMatcherModifierConstructorDescriptionComposablePointcut
(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
Classes in org.springframework.aop.support.annotation that implement MethodMatcherModifier 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).Methods in org.springframework.aop.support.annotation that return MethodMatcher -
Uses of MethodMatcher in org.springframework.cache.jcache.interceptor
Classes in org.springframework.cache.jcache.interceptor that implement MethodMatcherModifier 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