@Configuration public class AbstractJCacheConfiguration extends AbstractCachingConfiguration<JCacheConfigurer>
@Configuration class providing common
structure for enabling JSR-107 annotation-driven cache management capability.JCacheConfigurer| Modifier and Type | Field and Description |
|---|---|
protected CacheResolver |
exceptionCacheResolver |
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator| Constructor and Description |
|---|
AbstractJCacheConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
JCacheOperationSource |
cacheOperationSource() |
protected void |
useCachingConfigurer(JCacheConfigurer config)
Extract the configuration from the nominated
CachingConfigurer. |
setImportMetadataprotected CacheResolver exceptionCacheResolver
protected void useCachingConfigurer(JCacheConfigurer config)
AbstractCachingConfigurationCachingConfigurer.useCachingConfigurer in class AbstractCachingConfiguration<JCacheConfigurer>@Bean(name="jCacheOperationSource") @Role(value=2) public JCacheOperationSource cacheOperationSource()