类 BeanFactoryCacheOperationSourceAdvisor
- java.lang.Object
- org.springframework.aop.support.AbstractPointcutAdvisor
- org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
- org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor
- 所有已实现的接口:
Serializable
,Advisor
,PointcutAdvisor
,Aware
,BeanFactoryAware
,Ordered
public class BeanFactoryCacheOperationSourceAdvisor extends AbstractBeanFactoryPointcutAdvisor
Advisor driven by aCacheOperationSource
, used to include a cache advice bean for methods that are cacheable.- 从以下版本开始:
- 3.1
- 作者:
- Costin Leau
- 另请参阅:
- 序列化表格
字段概要
从接口继承的字段 org.springframework.aop.Advisor
EMPTY_ADVICE
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
构造器概要
构造器 构造器 说明 BeanFactoryCacheOperationSourceAdvisor()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Pointcut
getPointcut()
Get the Pointcut that drives this advisor.void
setCacheOperationSource(CacheOperationSource cacheOperationSource)
Set the cache operation attribute source which is used to find cache attributes.void
setClassFilter(ClassFilter classFilter)
Set theClassFilter
to use for this pointcut.从类继承的方法 org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory, toString
从类继承的方法 org.springframework.aop.support.AbstractPointcutAdvisor
equals, getOrder, hashCode, isPerInstance, setOrder
构造器详细资料
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(ClassFilter classFilter)
Set theClassFilter
to use for this pointcut. Default isClassFilter.TRUE
.
getPointcut
public Pointcut getPointcut()
从接口复制的说明:PointcutAdvisor
Get the Pointcut that drives this advisor.