public abstract class JCacheOperationSourcePointcut extends StaticMethodMatcherPointcut implements Serializable
JCacheOperationSource
has an operation for a given method.TRUE
Constructor and Description |
---|
JCacheOperationSourcePointcut() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
protected abstract JCacheOperationSource |
getCacheOperationSource()
Obtain the underlying
JCacheOperationSource (may be null ). |
int |
hashCode() |
boolean |
matches(Method method,
Class<?> targetClass)
Perform static checking whether the given method matches.
|
String |
toString() |
getClassFilter, getMethodMatcher, setClassFilter
isRuntime, matches
public boolean matches(Method method, Class<?> targetClass)
MethodMatcher
false
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.matches
in interface MethodMatcher
method
- 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)protected abstract JCacheOperationSource getCacheOperationSource()
JCacheOperationSource
(may be null
).
To be implemented by subclasses.