@Configuration(proxyBeanMethods=false) @Role(value=2) public class ProxyJCacheConfiguration extends 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.
EnableCaching,
CachingConfigurationSelectorAbstractCachingConfiguration.CachingConfigurerSupplierexceptionCacheResolvercacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator| Constructor and Description |
|---|
ProxyJCacheConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BeanFactoryJCacheOperationSourceAdvisor |
cacheAdvisor(JCacheOperationSource jCacheOperationSource,
JCacheInterceptor jCacheInterceptor) |
JCacheInterceptor |
cacheInterceptor(JCacheOperationSource jCacheOperationSource) |
cacheOperationSource, useCachingConfigurersetImportMetadata@Bean(name="org.springframework.cache.config.internalJCacheAdvisor") @Role(value=2) public BeanFactoryJCacheOperationSourceAdvisor cacheAdvisor(JCacheOperationSource jCacheOperationSource, JCacheInterceptor jCacheInterceptor)
@Bean(name="jCacheInterceptor") @Role(value=2) public JCacheInterceptor cacheInterceptor(JCacheOperationSource jCacheOperationSource)