Class BeanFactoryCacheOperationSourceAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor
- All Implemented Interfaces:
- Serializable,- Advisor,- PointcutAdvisor,- Aware,- BeanFactoryAware,- Ordered
Advisor driven by a 
CacheOperationSource, used to include a
 cache advice bean for methods that are cacheable.- Since:
- 3.1
- Author:
- Costin Leau, Juergen Hoeller
- See Also:
- 
Field SummaryFields inherited from interface org.springframework.aop.AdvisorEMPTY_ADVICEFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the Pointcut that drives this advisor.voidsetCacheOperationSource(CacheOperationSource cacheOperationSource) Set the cache operation attribute source which is used to find cache attributes.voidsetClassFilter(ClassFilter classFilter) Set theClassFilterto use for this pointcut.Methods inherited from class org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisorgetAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory, toStringMethods inherited from class org.springframework.aop.support.AbstractPointcutAdvisorequals, getOrder, hashCode, setOrderMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.aop.AdvisorisPerInstance
- 
Constructor Details- 
BeanFactoryCacheOperationSourceAdvisorpublic BeanFactoryCacheOperationSourceAdvisor()
 
- 
- 
Method Details- 
setCacheOperationSourceSet the cache operation attribute source which is used to find cache attributes. This should usually be identical to the source reference set on the cache interceptor itself.
- 
setClassFilterSet theClassFilterto use for this pointcut. Default isClassFilter.TRUE.
- 
getPointcutDescription copied from interface:PointcutAdvisorGet the Pointcut that drives this advisor.
 
-