|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.TrueMethodMatcher
Canonical MethodMatcher instance that matches all methods.
Field Summary | |
static TrueMethodMatcher |
INSTANCE
|
Fields inherited from interface org.springframework.aop.MethodMatcher |
TRUE |
Method Summary | |
boolean |
isRuntime()
Is this MethodMatcher dynamic? |
boolean |
matches(Method method,
Class targetClass)
Perform static checking. |
boolean |
matches(Method method,
Class targetClass,
Object[] args)
Is there a runtime (dynamic) match for this method, which must have matched statically. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final TrueMethodMatcher INSTANCE
Method Detail |
public boolean isRuntime()
MethodMatcher
Note: Could be pulled up into a Matcher super-interface to apply to fields also.
isRuntime
in interface MethodMatcher
public boolean matches(Method method, Class targetClass)
MethodMatcher
matches
in interface MethodMatcher
method
- the candidate methodtargetClass
- target class (may be null, in which case the candidate
class must be taken to be the method's declaring class)
public boolean matches(Method method, Class targetClass, Object[] args)
MethodMatcher
matches
in interface MethodMatcher
method
- the candidate methodtargetClass
- target classargs
- arguments to the method
MethodMatcher.matches(Method, Class)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |