org.springframework.cache.interceptor
Class BeanFactoryCacheOperationSourceAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor
- All Implemented Interfaces:
- java.io.Serializable, org.springframework.aop.Advisor, org.springframework.aop.PointcutAdvisor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered
public class BeanFactoryCacheOperationSourceAdvisor
- extends org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
Advisor driven by a CacheOperationSource
, used to include a
cache advice bean for methods that are cacheable.
- Since:
- 3.1
- Author:
- Costin Leau
- See Also:
- Serialized Form
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor |
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory, toString |
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor |
equals, getOrder, hashCode, isPerInstance, setOrder |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BeanFactoryCacheOperationSourceAdvisor
public BeanFactoryCacheOperationSourceAdvisor()
setCacheOperationSource
public void setCacheOperationSource(CacheOperationSource cacheOperationSource)
- Set 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.
setClassFilter
public void setClassFilter(org.springframework.aop.ClassFilter classFilter)
- Set the
ClassFilter
to use for this pointcut.
Default is ClassFilter.TRUE
.
getPointcut
public org.springframework.aop.Pointcut getPointcut()