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.String annotationName
           
 
Constructor Summary
MethodAnnotationPointcut(java.lang.Class annotationClass)
           
 
Method Summary
 boolean apply(MethodSignature msign)
          Returns true if method signature should be wrapped with the proxy.
 
Methods inherited from class jodd.proxetta.pointcuts.ProxyPointcutSupport
and, hasAnnotation, hasNoArguments, hasNoReturnValue, hasOneArgument, hasReturnValue, isPublic, matchClassName, matchMethodName, or
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotationName

protected final java.lang.String annotationName
Constructor Detail

MethodAnnotationPointcut

public MethodAnnotationPointcut(java.lang.Class annotationClass)
Method Detail

apply

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



Copyright ©2008 Jodd Team