Package org.springframework.aop
Interface ClassFilter
- All Known Implementing Classes:
AnnotationClassFilter
,AspectJExpressionPointcut
,ControlFlowPointcut
,DefaultIntroductionAdvisor
,RootClassFilter
,TypePatternClassFilter
public interface ClassFilter
Filter that restricts matching of a pointcut or introduction to a given set of target classes.Can be used as part of a
Pointcut
or for the entire targeting of anIntroductionAdvisor
.- Author:
- Rod Johnson
- See Also:
Pointcut
,MethodMatcher
Field Summary
Fields Modifier and Type Field Description static ClassFilter
TRUE
Canonical instance of a ClassFilter that matches all classes.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(Class<?> clazz)
Should the pointcut apply to the given interface or target class?
Field Detail
TRUE
static final ClassFilter TRUE
Canonical instance of a ClassFilter that matches all classes.