|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.proxetta.pointcuts.ProxyPointcutSupport
public abstract class ProxyPointcutSupport
ProxyPointcut support methods.
| Field Summary | |
|---|---|
protected static java.lang.String |
SIGNATURE_OBJECT_CLASS
|
| Constructor Summary | |
|---|---|
ProxyPointcutSupport()
|
|
| Method Summary | |
|---|---|
boolean |
and(MethodInfo msign,
ProxyPointcut p1,
ProxyPointcut p2)
Returns true if both pointcuts can be applied on the method.. |
boolean |
hasNoArguments(MethodInfo msign)
Returns true if method has no arguments. |
boolean |
hasNoReturnValue(MethodInfo msign)
Returns true if method's return type is void. |
boolean |
hasOneArgument(MethodInfo msign)
Returns true if method has only one argument. |
boolean |
hasReturnValue(MethodInfo msign)
Returns true if method has a return type. |
boolean |
isPublic(MethodInfo msign)
Returns true if method is public. |
boolean |
isRootMethod(MethodInfo msign)
Returns true if method is declared in Object class (root class). |
boolean |
isTopLevelMethod(MethodInfo msign)
Returns true if method is a top-level method. |
AnnotationInfo |
lookupAnnotation(ClassInfo ci,
java.lang.Class<? extends java.lang.annotation.Annotation> an)
Locates annotation in class info. |
AnnotationInfo |
lookupAnnotation(MethodInfo mi,
java.lang.Class<? extends java.lang.annotation.Annotation> an)
Returns true if method is annotated with provided annotation. |
boolean |
matchClassName(MethodInfo msing,
java.lang.String wildcard)
Match class name to provided Wildcard pattern. |
boolean |
matchMethodName(MethodInfo msing,
java.lang.String wildcard)
Match method name to provided Wildcard pattern. |
boolean |
or(MethodInfo 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 |
| Field Detail |
|---|
protected static final java.lang.String SIGNATURE_OBJECT_CLASS
| Constructor Detail |
|---|
public ProxyPointcutSupport()
| Method Detail |
|---|
public boolean isPublic(MethodInfo msign)
true if method is public.
public AnnotationInfo lookupAnnotation(MethodInfo mi,
java.lang.Class<? extends java.lang.annotation.Annotation> an)
true if method is annotated with provided annotation.
public AnnotationInfo lookupAnnotation(ClassInfo ci,
java.lang.Class<? extends java.lang.annotation.Annotation> an)
null if annotation doesn't exist.
public boolean hasNoArguments(MethodInfo msign)
true if method has no arguments.
public boolean hasOneArgument(MethodInfo msign)
true if method has only one argument.
public boolean isTopLevelMethod(MethodInfo msign)
true if method is a top-level method.
public boolean isRootMethod(MethodInfo msign)
true if method is declared in Object class (root class).
public boolean matchMethodName(MethodInfo msing,
java.lang.String wildcard)
Wildcard pattern.
public boolean matchClassName(MethodInfo msing,
java.lang.String wildcard)
Wildcard pattern.
public boolean hasNoReturnValue(MethodInfo msign)
true if method's return type is void.
public boolean hasReturnValue(MethodInfo msign)
true if method has a return type.
public boolean and(MethodInfo msign,
ProxyPointcut p1,
ProxyPointcut p2)
true if both pointcuts can be applied on the method..
public boolean or(MethodInfo 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 | ||||||||