org.springframework.aop.support
Class UnionPointcut

java.lang.Object
  extended by org.springframework.aop.support.UnionPointcut
All Implemented Interfaces:
Serializable, Pointcut

 class UnionPointcut
extends Object
implements Pointcut, Serializable

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.

Author:
Rod Johnson

Field Summary
 
Fields inherited from interface org.springframework.aop.Pointcut
TRUE
 
Constructor Summary
UnionPointcut(Pointcut a, Pointcut b)
           
 
Method Summary
 ClassFilter getClassFilter()
           
 MethodMatcher getMethodMatcher()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionPointcut

public UnionPointcut(Pointcut a,
                     Pointcut b)
Method Detail

getClassFilter

public ClassFilter getClassFilter()
Specified by:
getClassFilter in interface Pointcut
See Also:
Pointcut.getClassFilter()

getMethodMatcher

public MethodMatcher getMethodMatcher()
Specified by:
getMethodMatcher in interface Pointcut
See Also:
Pointcut.getMethodMatcher()


Copyright (c) 2002-2005 The Spring Framework Project.