|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jodd.proxetta.pointcuts.ProxyPointcutSupport
public abstract class ProxyPointcutSupport
ProxyPointcut
support methods.
Constructor Summary | |
---|---|
ProxyPointcutSupport()
|
Method Summary | |
---|---|
boolean |
and(MethodSignature msign,
ProxyPointcut p1,
ProxyPointcut p2)
Returns true if both pointcuts can be applied on the method.. |
boolean |
hasAnnotation(MethodSignature msign,
java.lang.String annotationName)
Returns true if method is annotated with provided annotation. |
boolean |
hasNoArguments(MethodSignature msign)
Returns true if method has no arguments. |
boolean |
hasNoReturnValue(MethodSignature msign)
Returns true if method's return type is void . |
boolean |
hasOneArgument(MethodSignature msign)
Returns true if method has only one argument. |
boolean |
hasReturnValue(MethodSignature msign)
Returns true if method has a return type. |
boolean |
isPublic(MethodSignature msign)
Returns true if method is public. |
boolean |
matchClassName(MethodSignature msing,
java.lang.String wildcard)
Match class name to provided Wildcard pattern. |
boolean |
matchMethodName(MethodSignature msing,
java.lang.String wildcard)
Match method name to provided Wildcard pattern. |
boolean |
or(MethodSignature msign,
ProxyPointcut p1,
ProxyPointcut p2)
Returns true if at least one pointcuts can be applied on the method.. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jodd.proxetta.ProxyPointcut |
---|
apply |
Constructor Detail |
---|
public ProxyPointcutSupport()
Method Detail |
---|
public boolean isPublic(MethodSignature msign)
true
if method is public.
public boolean hasAnnotation(MethodSignature msign, java.lang.String annotationName)
true
if method is annotated with provided annotation.
public boolean hasNoArguments(MethodSignature msign)
true
if method has no arguments.
public boolean hasOneArgument(MethodSignature msign)
true
if method has only one argument.
public boolean matchMethodName(MethodSignature msing, java.lang.String wildcard)
Wildcard
pattern.
public boolean matchClassName(MethodSignature msing, java.lang.String wildcard)
Wildcard
pattern.
public boolean hasNoReturnValue(MethodSignature msign)
true
if method's return type is void
.
public boolean hasReturnValue(MethodSignature msign)
true
if method has a return type.
public boolean and(MethodSignature msign, ProxyPointcut p1, ProxyPointcut p2)
true
if both pointcuts can be applied on the method..
public boolean or(MethodSignature msign, ProxyPointcut p1, ProxyPointcut p2)
true
if at least one pointcuts can be applied on the method..
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |