spring-framework / org.springframework.cache.jcache.config

Package org.springframework.cache.jcache.config

Types

JCacheConfigurer

interface JCacheConfigurer : CachingConfigurer

Extension of CachingConfigurer for the JSR-107 implementation.

To be implemented by classes annotated with org.springframework.cache.annotation.EnableCaching that wish or need to specify explicitly how exception caches are resolved for annotation-driven cache management. Consider extending JCacheConfigurerSupport, which provides a stub implementation of all interface methods.

See org.springframework.cache.annotation.EnableCaching for general examples and context; see #exceptionCacheResolver() for detailed instructions.

JCacheConfigurerSupport

open class JCacheConfigurerSupport : CachingConfigurerSupport, JCacheConfigurer

An extension of CachingConfigurerSupport that also implements JCacheConfigurer.

Users of JSR-107 annotations may extend from this class rather than implementing from JCacheConfigurer directly.

ProxyJCacheConfiguration

open class ProxyJCacheConfiguration : AbstractJCacheConfiguration

@Configuration class that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven JSR-107 cache management.

Can safely be used alongside Spring's caching support.