public class MethodAnnotationPointcut extends ProxyPointcutSupport
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation>[] |
annotationClasses |
| Constructor and Description |
|---|
MethodAnnotationPointcut(java.lang.Class<? extends java.lang.annotation.Annotation>... annotationClasses)
Defines set of annotations we are looking for.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(MethodInfo methodInfo)
Returns
true if method should be wrapped with the proxy. |
and, getAnnotation, getAnnotation, hasAnnotation, hasAnnotation, hasNoArguments, hasNoReturnValue, hasOneArgument, hasReturnValue, isPublic, isRootMethod, isSpecialMethod, isTopLevelMethod, matchClassName, matchMethodName, orprotected final java.lang.Class<? extends java.lang.annotation.Annotation>[] annotationClasses
public MethodAnnotationPointcut(java.lang.Class<? extends java.lang.annotation.Annotation>... annotationClasses)
public boolean apply(MethodInfo methodInfo)
true if method should be wrapped with the proxy.Copyright © 2003-2013 Jodd Team