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