public class BeanFactoryJCacheOperationSourceAdvisor extends AbstractBeanFactoryPointcutAdvisor
JCacheOperationSource
, used to include a
cache advice bean for methods that are cacheable.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
BeanFactoryJCacheOperationSourceAdvisor() |
Modifier and Type | Method and Description |
---|---|
Pointcut |
getPointcut()
Get the Pointcut that drives this advisor.
|
void |
setCacheOperationSource(JCacheOperationSource 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 BeanFactoryJCacheOperationSourceAdvisor()
public void setCacheOperationSource(JCacheOperationSource cacheOperationSource)
public void setClassFilter(ClassFilter classFilter)
ClassFilter
to use for this pointcut.
Default is ClassFilter.TRUE
.public Pointcut getPointcut()
PointcutAdvisor