Class Overview
Convenient superclass when we want to force subclasses to
implement MethodMatcher interface, but subclasses
will want to be pointcuts. The getClassFilter() method can
be overriden to customize ClassFilter behaviour as well.
Summary
[Expand]
Inherited Methods |
From class
org.springframework.aop.support.DynamicMethodMatcher
final
boolean
|
isRuntime()
Is this MethodMatcher dynamic, that is, must a final call be made on the
matches(java.lang.reflect.Method, Class, Object[]) method at
runtime even if the 2-arg matches method returns true ?
Can be invoked when an AOP proxy is created, and need not be invoked
again before each method invocation,
|
boolean
|
matches(Method method, Class<?> targetClass)
Can override to add preconditions for dynamic matching.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.springframework.aop.MethodMatcher
abstract
boolean
|
isRuntime()
Is this MethodMatcher dynamic, that is, must a final call be made on the
matches(java.lang.reflect.Method, Class, Object[]) method at
runtime even if the 2-arg matches method returns true ?
Can be invoked when an AOP proxy is created, and need not be invoked
again before each method invocation,
|
abstract
boolean
|
matches(Method method, Class<?> targetClass)
Perform static checking whether the given method matches.
|
abstract
boolean
|
matches(Method method, Class<?> targetClass, Object[] args)
Check whether there a runtime (dynamic) match for this method,
which must have matched statically.
|
|
From interface
org.springframework.aop.Pointcut
|
Public Constructors
public
DynamicMethodMatcherPointcut
()
Public Methods
public
ClassFilter
getClassFilter
()
Return the ClassFilter for this pointcut.
Returns
- the ClassFilter (never
null
)
public
final
MethodMatcher
getMethodMatcher
()
Return the MethodMatcher for this pointcut.
Returns
- the MethodMatcher (never
null
)