public class BeanFactoryCacheOperationSourceAdvisor extends AbstractBeanFactoryPointcutAdvisor
CacheOperationSource
, used to include a
cache advice bean for methods that are cacheable.EMPTY_ADVICE
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
BeanFactoryCacheOperationSourceAdvisor() |
Modifier and Type | Method and Description |
---|---|
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 the
ClassFilter to use for this pointcut. |
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory, toString
equals, getOrder, hashCode, isPerInstance, setOrder
public BeanFactoryCacheOperationSourceAdvisor()
public void setCacheOperationSource(CacheOperationSource cacheOperationSource)
public void setClassFilter(ClassFilter classFilter)
ClassFilter
to use for this pointcut.
Default is ClassFilter.TRUE
.public Pointcut getPointcut()
PointcutAdvisor