Class StaticMethodMatcherPointcut
java.lang.Object
org.springframework.aop.support.StaticMethodMatcher
org.springframework.aop.support.StaticMethodMatcherPointcut
- All Implemented Interfaces:
- MethodMatcher, Pointcut
- Direct Known Subclasses:
- AbstractRegexpMethodPointcut, NameMatchMethodPointcut, StaticMethodMatcherPointcutAdvisor
Convenient superclass when we want to force subclasses to implement the
MethodMatcher interface but subclasses will want to be pointcuts.
The "classFilter" property can be set to customize
ClassFilter behavior. The default is ClassFilter.TRUE.
- Author:
- Rod Johnson, Juergen Hoeller
- 
Field SummaryFields inherited from interface MethodMatcherTRUE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the ClassFilter for this pointcut.final MethodMatcherReturn the MethodMatcher for this pointcut.voidsetClassFilter(ClassFilter classFilter) Set theClassFilterto use for this pointcut.Methods inherited from class StaticMethodMatcherisRuntime, matchesMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MethodMatchermatches
- 
Constructor Details- 
StaticMethodMatcherPointcutpublic StaticMethodMatcherPointcut()
 
- 
- 
Method Details- 
setClassFilterSet theClassFilterto use for this pointcut. Default isClassFilter.TRUE.
- 
getClassFilterDescription copied from interface:PointcutReturn the ClassFilter for this pointcut.- Specified by:
- getClassFilterin interface- Pointcut
- Returns:
- the ClassFilter (never null)
 
- 
getMethodMatcherDescription copied from interface:PointcutReturn the MethodMatcher for this pointcut.- Specified by:
- getMethodMatcherin interface- Pointcut
- Returns:
- the MethodMatcher (never null)
 
 
-