Class ProxyJCacheConfiguration
java.lang.Object
org.springframework.cache.annotation.AbstractCachingConfiguration
org.springframework.cache.jcache.config.AbstractJCacheConfiguration
org.springframework.cache.jcache.config.ProxyJCacheConfiguration
- All Implemented Interfaces:
- Aware,- ImportAware
@Configuration(proxyBeanMethods=false)
@Role(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.
- Since:
- 4.1
- Author:
- Stephane Nicoll, Juergen Hoeller
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.cache.annotation.AbstractCachingConfigurationAbstractCachingConfiguration.CachingConfigurerSupplier
- 
Field SummaryFields inherited from class org.springframework.cache.jcache.config.AbstractJCacheConfigurationexceptionCacheResolverFields inherited from class org.springframework.cache.annotation.AbstractCachingConfigurationcacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncacheAdvisor(JCacheOperationSource jCacheOperationSource, JCacheInterceptor jCacheInterceptor) cacheInterceptor(JCacheOperationSource jCacheOperationSource) Methods inherited from class org.springframework.cache.jcache.config.AbstractJCacheConfigurationcacheOperationSource, useCachingConfigurerMethods inherited from class org.springframework.cache.annotation.AbstractCachingConfigurationsetImportMetadata
- 
Constructor Details- 
ProxyJCacheConfigurationpublic ProxyJCacheConfiguration()
 
- 
- 
Method Details- 
cacheAdvisor@Bean(name="org.springframework.cache.config.internalJCacheAdvisor") @Role(2) public BeanFactoryJCacheOperationSourceAdvisor cacheAdvisor(JCacheOperationSource jCacheOperationSource, JCacheInterceptor jCacheInterceptor) 
- 
cacheInterceptor@Bean(name="jCacheInterceptor") @Role(2) public JCacheInterceptor cacheInterceptor(JCacheOperationSource jCacheOperationSource) 
 
-