org.springframework.aop.support
class: UnionPointcut [javadoc |
source]
java.lang.Object
org.springframework.aop.support.UnionPointcut
All Implemented Interfaces:
Serializable, Pointcut
Pointcut unions are tricky, because we can't just
OR the MethodMatchers: we need to check that each MethodMatcher's
ClassFilter was happy as well.
| Method from org.springframework.aop.support.UnionPointcut Detail: |
public ClassFilter getClassFilter() {
return ClassFilters.union(a.getClassFilter(), b.getClassFilter());
}
|
public MethodMatcher getMethodMatcher() {
// Complicated: we need to consider both class filter and method matcher
return mm;
}
|