Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » support » annotation » [javadoc | source]
org.springframework.aop.support.annotation
public class: AnnotationMethodMatcher [javadoc | source]
java.lang.Object
   org.springframework.aop.support.StaticMethodMatcher
      org.springframework.aop.support.annotation.AnnotationMethodMatcher

All Implemented Interfaces:
    MethodMatcher

Simple MethodMatcher that looks for a specific Java 5 annotation being present on a method (checking both the method on the invoked interface, if any, and the corresponding method on the target class).
Constructor:
 public AnnotationMethodMatcher(Class annotationType) 
    Create a new AnnotationClassFilter for the given annotation type.
    Parameters:
    annotationType - the annotation type to look for
Method from org.springframework.aop.support.annotation.AnnotationMethodMatcher Summary:
matches
Methods from org.springframework.aop.support.StaticMethodMatcher:
isRuntime,   matches
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.support.annotation.AnnotationMethodMatcher Detail:
 public boolean matches(Method method,
    Class targetClass)