Class DynamicMethodMatcherPointcut
java.lang.Object
org.springframework.aop.support.DynamicMethodMatcher
org.springframework.aop.support.DynamicMethodMatcherPointcut
- All Implemented Interfaces:
MethodMatcher, Pointcut
Convenient superclass when we want to force subclasses to
implement MethodMatcher interface, but subclasses
will want to be pointcuts. The getClassFilter() method can
be overridden to customize ClassFilter behaviour as well.
- Author:
- Rod Johnson
-
Field Summary
Fields inherited from interface MethodMatcher
TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the ClassFilter for this pointcut.final MethodMatcherReturn the MethodMatcher for this pointcut.Methods inherited from class DynamicMethodMatcher
isRuntime, matchesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MethodMatcher
matches
-
Constructor Details
-
DynamicMethodMatcherPointcut
public DynamicMethodMatcherPointcut()
-
-
Method Details
-
getClassFilter
Description copied from interface:PointcutReturn the ClassFilter for this pointcut.- Specified by:
getClassFilterin interfacePointcut- Returns:
- the ClassFilter (never
null)
-
getMethodMatcher
Description copied from interface:PointcutReturn the MethodMatcher for this pointcut.- Specified by:
getMethodMatcherin interfacePointcut- Returns:
- the MethodMatcher (never
null)
-