Class JCacheOperationSourcePointcut
java.lang.Object
org.springframework.aop.support.StaticMethodMatcher
org.springframework.aop.support.StaticMethodMatcherPointcut
org.springframework.cache.jcache.interceptor.JCacheOperationSourcePointcut
- All Implemented Interfaces:
Serializable,MethodMatcher,Pointcut
public abstract class JCacheOperationSourcePointcut
extends StaticMethodMatcherPointcut
implements Serializable
A Pointcut that matches if the underlying
JCacheOperationSource
has an operation for a given method.- Since:
- 4.1
- Author:
- Stephane Nicoll
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.aop.MethodMatcher
TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected abstract JCacheOperationSourceObtain the underlyingJCacheOperationSource(may benull).inthashCode()booleanPerform static checking whether the given method matches.toString()Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcut
getClassFilter, getMethodMatcher, setClassFilterMethods inherited from class org.springframework.aop.support.StaticMethodMatcher
isRuntime, matches
-
Constructor Details
-
JCacheOperationSourcePointcut
public JCacheOperationSourcePointcut()
-
-
Method Details
-
matches
Description copied from interface:MethodMatcherPerform static checking whether the given method matches.If this returns
falseor if theMethodMatcher.isRuntime()method returnsfalse, no runtime check (i.e. noMethodMatcher.matches(java.lang.reflect.Method, Class, Object[])call) will be made.- Specified by:
matchesin interfaceMethodMatcher- Parameters:
method- the candidate methodtargetClass- the target class- Returns:
- whether this method matches statically
-
getCacheOperationSource
Obtain the underlyingJCacheOperationSource(may benull). To be implemented by subclasses. -
equals
-
hashCode
public int hashCode() -
toString
-