org.springframework.aop.support
Class MethodMatchers.ClassFilterAwareUnionMethodMatcher

java.lang.Object
  extended by org.springframework.aop.support.MethodMatchers.UnionMethodMatcher
      extended by org.springframework.aop.support.MethodMatchers.ClassFilterAwareUnionMethodMatcher
All Implemented Interfaces:
java.io.Serializable, IntroductionAwareMethodMatcher, MethodMatcher
Enclosing class:
MethodMatchers

private static class MethodMatchers.ClassFilterAwareUnionMethodMatcher
extends MethodMatchers.UnionMethodMatcher

MethodMatcher implementation for a union of two given MethodMatchers, supporting an associated ClassFilter per MethodMatcher.


Field Summary
private  ClassFilter cf1
           
private  ClassFilter cf2
           
 
Fields inherited from interface org.springframework.aop.MethodMatcher
TRUE
 
Constructor Summary
MethodMatchers.ClassFilterAwareUnionMethodMatcher(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
protected  boolean matchesClass1(java.lang.Class targetClass)
           
protected  boolean matchesClass2(java.lang.Class targetClass)
           
 
Methods inherited from class org.springframework.aop.support.MethodMatchers.UnionMethodMatcher
hashCode, isRuntime, matches, matches, matches
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cf1

private final ClassFilter cf1

cf2

private final ClassFilter cf2
Constructor Detail

MethodMatchers.ClassFilterAwareUnionMethodMatcher

public MethodMatchers.ClassFilterAwareUnionMethodMatcher(MethodMatcher mm1,
                                                         ClassFilter cf1,
                                                         MethodMatcher mm2,
                                                         ClassFilter cf2)
Method Detail

matchesClass1

protected boolean matchesClass1(java.lang.Class targetClass)
Overrides:
matchesClass1 in class MethodMatchers.UnionMethodMatcher

matchesClass2

protected boolean matchesClass2(java.lang.Class targetClass)
Overrides:
matchesClass2 in class MethodMatchers.UnionMethodMatcher

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class MethodMatchers.UnionMethodMatcher