org.kuali.rice.kns.util.spring
Class ClassOrMethodAnnotationMatcher
java.lang.Object
org.springframework.aop.support.StaticMethodMatcher
org.kuali.rice.kns.util.spring.ClassOrMethodAnnotationMatcher
- All Implemented Interfaces:
- org.springframework.aop.MethodMatcher
public class ClassOrMethodAnnotationMatcher
- extends org.springframework.aop.support.StaticMethodMatcher
Matches if the specified annotation is present on the targetClass or if it is present on the most specific method on the target
class corresponding to the method specified, as defined by AopUtils.
Fields inherited from interface org.springframework.aop.MethodMatcher |
TRUE |
Methods inherited from class org.springframework.aop.support.StaticMethodMatcher |
isRuntime, matches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassOrMethodAnnotationMatcher
public ClassOrMethodAnnotationMatcher(Class<? extends Annotation> annotationType)
matches
public boolean matches(Method method,
Class targetClass)
- See Also:
MethodMatcher.matches(java.lang.reflect.Method, java.lang.Class)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.