@Configuration
public class AbstractJCacheConfiguration
extends org.springframework.cache.annotation.AbstractCachingConfiguration
@Configuration
class providing common
structure for enabling JSR-107 annotation-driven cache management capability.JCacheConfigurer
Modifier and Type | Field and Description |
---|---|
protected org.springframework.cache.interceptor.CacheResolver |
exceptionCacheResolver |
Constructor and Description |
---|
AbstractJCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
JCacheOperationSource |
cacheOperationSource() |
protected void |
useCachingConfigurer(org.springframework.cache.annotation.CachingConfigurer config) |
@Nullable protected org.springframework.cache.interceptor.CacheResolver exceptionCacheResolver
protected void useCachingConfigurer(org.springframework.cache.annotation.CachingConfigurer config)
useCachingConfigurer
in class org.springframework.cache.annotation.AbstractCachingConfiguration
@Bean(name="jCacheOperationSource") @Role(value=2) public JCacheOperationSource cacheOperationSource()