接口 ClassFilter
- 所有已知实现类:
AnnotationClassFilter
,AspectJExpressionPointcut
,ControlFlowPointcut
,DefaultIntroductionAdvisor
,RootClassFilter
,TypePatternClassFilter
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface 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
.Concrete implementations of this interface typically should provide proper implementations of
Object.equals(Object)
andObject.hashCode()
in order to allow the filter to be used in caching scenarios — for example, in proxies generated by CGLIB.- 作者:
- Rod Johnson
- 另请参阅:
Pointcut
,MethodMatcher
字段概要
字段 修饰符和类型 字段 说明 static ClassFilter
TRUE
Canonical instance of a ClassFilter that matches all classes.
字段详细资料
TRUE
static final ClassFilter TRUE
Canonical instance of a ClassFilter that matches all classes.