|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.proxetta.pointcuts.ProxyPointcutSupport
jodd.proxetta.pointcuts.MethodAnnotationPointcut
public class MethodAnnotationPointcut
Pointcut on method with one of given annotations.
| Field Summary | |
|---|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation>[] |
annotationClasses
|
| Fields inherited from class jodd.proxetta.pointcuts.ProxyPointcutSupport |
|---|
SIGNATURE_OBJECT_CLASS |
| Constructor Summary | |
|---|---|
MethodAnnotationPointcut(java.lang.Class<? extends java.lang.annotation.Annotation>... annotationClasses)
Defines set of annotations we are looking for. |
|
| Method Summary | |
|---|---|
boolean |
apply(MethodInfo methodInfo)
Returns true if method should be wrapped with the proxy. |
| Methods inherited from class jodd.proxetta.pointcuts.ProxyPointcutSupport |
|---|
and, getAnnotation, getAnnotation, hasAnnotation, hasAnnotation, hasNoArguments, hasNoReturnValue, hasOneArgument, hasReturnValue, isPublic, isRootMethod, isTopLevelMethod, matchClassName, matchMethodName, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.Class<? extends java.lang.annotation.Annotation>[] annotationClasses
| Constructor Detail |
|---|
public MethodAnnotationPointcut(java.lang.Class<? extends java.lang.annotation.Annotation>... annotationClasses)
| Method Detail |
|---|
public boolean apply(MethodInfo methodInfo)
true if method should be wrapped with the proxy.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||