class NeverMatchAdvisor extends StaticMethodMatcherPointcutAdvisor
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCETRUE| Constructor and Description |
|---|
NeverMatchAdvisor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Method m,
Class<?> targetClass)
Perform static checking whether the given method matches.
|
void |
setDependencies(List<?> l)
This method is solely to allow us to create a mixture of dependencies in
the bean definitions.
|
getAdvice, getOrder, getPointcut, isPerInstance, setAdvice, setOrdergetClassFilter, getMethodMatcher, setClassFilterisRuntime, matchespublic NeverMatchAdvisor()
public void setDependencies(List<?> l)
public boolean matches(Method m, Class<?> targetClass)
MethodMatcherfalse or if the MethodMatcher.isRuntime() method
returns false, no runtime check (i.e. no.
MethodMatcher.matches(java.lang.reflect.Method, Class, Object[]) call) will be made.m - the candidate methodtargetClass - the target class (may be null, in which case
the candidate class must be taken to be the method's declaring class)MethodMatcher.matches(java.lang.reflect.Method, java.lang.Class)