org.springframework.aop
Class TrueClassFilter

java.lang.Object
  extended by org.springframework.aop.TrueClassFilter
All Implemented Interfaces:
Serializable, ClassFilter

 class TrueClassFilter
extends Object
implements ClassFilter, Serializable

Canonical ClassFilter instance that matches all classes.

Author:
Rod Johnson

Field Summary
static TrueClassFilter INSTANCE
           
 
Fields inherited from interface org.springframework.aop.ClassFilter
TRUE
 
Method Summary
 boolean matches(Class clazz)
          Should the pointcut apply to the given interface or target class?
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final TrueClassFilter INSTANCE
Method Detail

matches

public boolean matches(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 - candidate target class
Returns:
whether the advice should apply to this candidate target class

toString

public String toString()
Overrides:
toString in class Object


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