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.
-
Uses of MethodMatcher in org.springframework.aop
Subinterfaces of MethodMatcher in org.springframework.aopModifier and TypeInterfaceDescriptioninterfaceA specialized type ofMethodMatcherthat takes into account introductions when matching methods.Fields in org.springframework.aop declared as MethodMatcherModifier and TypeFieldDescriptionstatic final MethodMatcherMethodMatcher.TRUECanonical instance of aMethodMatcherthat 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 TypeClassDescriptionclassSpringPointcutimplementation 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 TypeClassDescriptionclassAbstract base regular expression pointcut bean.classPointcut and method matcher for use as a simple cflow-style pointcut.classConvenient abstract superclass for dynamic method matchers, which do care about arguments at runtime.classConvenient superclass when we want to force subclasses to implement MethodMatcher interface, but subclasses will want to be pointcuts.classRegular expression pointcut based on thejava.util.regexpackage.classPointcut bean for simple method name matches, as an alternative to regular expression patterns.classConvenient abstract superclass for static method matchers, which don't care about arguments at runtime.classConvenient superclass when we want to force subclasses to implement theMethodMatcherinterface but subclasses will want to be pointcuts.classConvenient base class for Advisors that are also static pointcuts.Methods in org.springframework.aop.support that return MethodMatcherModifier and TypeMethodDescriptionComposablePointcut.getMethodMatcher()ControlFlowPointcut.getMethodMatcher()final MethodMatcherDynamicMethodMatcherPointcut.getMethodMatcher()final MethodMatcherStaticMethodMatcherPointcut.getMethodMatcher()static MethodMatcherMethodMatchers.intersection(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static MethodMatcherMethodMatchers.negate(MethodMatcher methodMatcher) Return a method matcher that represents the logical negation of the specified matcher instance.static MethodMatcherMethodMatchers.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 MethodMatcherMethodMatchers.intersection(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static booleanMethodMatchers.matches(MethodMatcher mm, Method method, Class<?> targetClass, boolean hasIntroductions) Apply the given MethodMatcher to the given Method, supporting anIntroductionAwareMethodMatcher(if applicable).static MethodMatcherMethodMatchers.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 MethodMatcherMethodMatchers.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 TypeClassDescriptionclassSimpleMethodMatcherthat 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