org.springframework.aop
class: TrueMethodMatcher [javadoc |
source]
java.lang.Object
org.springframework.aop.TrueMethodMatcher
All Implemented Interfaces:
Serializable, MethodMatcher
Canonical MethodMatcher instance that matches all methods.
| Field Summary |
|---|
| public static final TrueMethodMatcher | INSTANCE | |
| Method from org.springframework.aop.TrueMethodMatcher Detail: |
public boolean isRuntime() {
return false;
}
|
public boolean matches(Method method,
Class targetClass) {
return true;
}
|
public boolean matches(Method method,
Class targetClass,
Object[] args) {
// Should never be invoked as isRuntime returns false.
throw new UnsupportedOperationException();
}
|
public String toString() {
return "MethodMatcher.TRUE";
}
|