类 ClassFilters
- java.lang.Object
- org.springframework.aop.support.ClassFilters
public abstract class ClassFilters extends Object
Static utility methods for composingClassFilters
.- 从以下版本开始:
- 11.11.2003
- 作者:
- Rod Johnson, Rob Harrop, Juergen Hoeller
- 另请参阅:
MethodMatchers
,Pointcuts
构造器概要
构造器 构造器 说明 ClassFilters()
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static ClassFilter
intersection(ClassFilter[] classFilters)
Match all classes that all of the given ClassFilters match.static ClassFilter
intersection(ClassFilter cf1, ClassFilter cf2)
Match all classes that both of the given ClassFilters match.static ClassFilter
union(ClassFilter[] classFilters)
Match all classes that either (or all) of the given ClassFilters matches.static ClassFilter
union(ClassFilter cf1, ClassFilter cf2)
Match all classes that either (or both) of the given ClassFilters matches.
构造器详细资料
ClassFilters
public ClassFilters()
方法详细资料
union
public static ClassFilter union(ClassFilter cf1, ClassFilter cf2)
Match all classes that either (or both) of the given ClassFilters matches.- 参数:
cf1
- the first ClassFiltercf2
- the second ClassFilter- 返回:
- a distinct ClassFilter that matches all classes that either of the given ClassFilter matches
union
public static ClassFilter union(ClassFilter[] classFilters)
Match all classes that either (or all) of the given ClassFilters matches.- 参数:
classFilters
- the ClassFilters to match- 返回:
- a distinct ClassFilter that matches all classes that either of the given ClassFilter matches
intersection
public static ClassFilter intersection(ClassFilter cf1, ClassFilter cf2)
Match all classes that both of the given ClassFilters match.- 参数:
cf1
- the first ClassFiltercf2
- the second ClassFilter- 返回:
- a distinct ClassFilter that matches all classes that both of the given ClassFilter match
intersection
public static ClassFilter intersection(ClassFilter[] classFilters)
Match all classes that all of the given ClassFilters match.- 参数:
classFilters
- the ClassFilters to match- 返回:
- a distinct ClassFilter that matches all classes that both of the given ClassFilter match