org.springframework.aop.support
Class ClassFilters.IntersectionClassFilter

java.lang.Object
  extended by org.springframework.aop.support.ClassFilters.IntersectionClassFilter
All Implemented Interfaces:
java.io.Serializable, ClassFilter
Enclosing class:
ClassFilters

private static class ClassFilters.IntersectionClassFilter
extends java.lang.Object
implements ClassFilter, java.io.Serializable

ClassFilter implementation for an intersection of the given ClassFilters.


Field Summary
private  ClassFilter[] filters
           
 
Fields inherited from interface org.springframework.aop.ClassFilter
TRUE
 
Constructor Summary
ClassFilters.IntersectionClassFilter(ClassFilter[] filters)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 boolean matches(java.lang.Class clazz)
          Should the pointcut apply to the given interface or target class?
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filters

private ClassFilter[] filters
Constructor Detail

ClassFilters.IntersectionClassFilter

public ClassFilters.IntersectionClassFilter(ClassFilter[] filters)
Method Detail

matches

public boolean matches(java.lang.Class clazz)
Description copied from interface: ClassFilter
Should the pointcut apply to the given interface or target class?

Specified by:
matches in interface ClassFilter
Parameters:
clazz - the candidate target class
Returns:
whether the advice should apply to the given target class

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object