Class BeanFactoryJCacheOperationSourceAdvisor

All Implemented Interfaces:
Serializable, Advisor, PointcutAdvisor, Aware, BeanFactoryAware, Ordered

public class BeanFactoryJCacheOperationSourceAdvisor extends AbstractBeanFactoryPointcutAdvisor
Advisor driven by a JCacheOperationSource, used to include a cache advice bean for methods that are cacheable.
Stephane Nicoll, Juergen Hoeller
See Also:
  • Constructor Details

    • BeanFactoryJCacheOperationSourceAdvisor

      public BeanFactoryJCacheOperationSourceAdvisor()
  • Method Details

    • setCacheOperationSource

      public void setCacheOperationSource(JCacheOperationSource 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 the ClassFilter to use for this pointcut. Default is ClassFilter.TRUE.
    • getPointcut

      public Pointcut getPointcut()
      Description copied from interface: PointcutAdvisor
      Get the Pointcut that drives this advisor.