Class JCacheConfigurerSupport

    • Constructor Detail

      • JCacheConfigurerSupport

        public JCacheConfigurerSupport()
    • Method Detail

      • exceptionCacheResolver

        public CacheResolver exceptionCacheResolver()
        Description copied from interface: JCacheConfigurer
        Return the CacheResolver bean to use to resolve exception caches for annotation-driven cache management. Implementations must explicitly declare @Bean, e.g.
         public class AppConfig extends JCacheConfigurerSupport {
             @Bean // important!
             public CacheResolver exceptionCacheResolver() {
                 // configure and return CacheResolver instance
             // ...
        See EnableCaching for more complete examples.
        Specified by:
        exceptionCacheResolver in interface JCacheConfigurer