Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Convenient superclass when we want to force subclasses to implement the
MethodMatcher
interface but subclasses will want to be pointcuts.
The "classFilter"
property can be set to customize
ClassFilter
behavior. The default is TRUE
.
Summary
[Expand]
Inherited Methods |
From class
org.springframework.aop.support.StaticMethodMatcher
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,
|
final
boolean
|
matches(Method method, Class<?> targetClass, Object[] args)
Check whether there a runtime (dynamic) match for this method,
which must have matched statically.
|
|
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
StaticMethodMatcherPointcut
()
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
)