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 SummaryFields inherited from interface org.springframework.aop.MethodMatcherTRUE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.StaticMethodMatcherPointcutgetClassFilter, getMethodMatcher, setClassFilterMethods inherited from class org.springframework.aop.support.StaticMethodMatcherisRuntime, matches
- 
Constructor Details- 
JCacheOperationSourcePointcutpublic JCacheOperationSourcePointcut()
 
- 
- 
Method Details- 
matchesDescription 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 interface- MethodMatcher
- Parameters:
- method- the candidate method
- targetClass- the target class
- Returns:
- whether this method matches statically
 
- 
getCacheOperationSourceObtain the underlyingJCacheOperationSource(may benull). To be implemented by subclasses.
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-