jodd.proxetta.pointcuts
Class MethodAnnotationPointcut

java.lang.Object
  extended by jodd.proxetta.pointcuts.ProxyPointcutSupport
      extended by jodd.proxetta.pointcuts.MethodAnnotationPointcut
All Implemented Interfaces:
ProxyPointcut

public class MethodAnnotationPointcut
extends ProxyPointcutSupport

Pointcut on method with given annotation.


Field Summary
protected  java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass
           
 
Fields inherited from class jodd.proxetta.pointcuts.ProxyPointcutSupport
SIGNATURE_OBJECT_CLASS
 
Constructor Summary
MethodAnnotationPointcut(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 
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, hasNoArguments, hasNoReturnValue, hasOneArgument, hasReturnValue, isPublic, isRootMethod, isTopLevelMethod, lookupAnnotation, lookupAnnotation, matchClassName, matchMethodName, or
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotationClass

protected final java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass
Constructor Detail

MethodAnnotationPointcut

public MethodAnnotationPointcut(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Method Detail

apply

public boolean apply(MethodInfo methodInfo)
Description copied from interface: ProxyPointcut
Returns true if method should be wrapped with the proxy.



Copyright © 2003-2011 Jodd Team