Class ProxyCachingConfiguration
java.lang.Object
org.springframework.cache.annotation.AbstractCachingConfiguration
org.springframework.cache.annotation.ProxyCachingConfiguration
- All Implemented Interfaces:
Aware
,ImportAware
@Configuration(proxyBeanMethods=false)
@Role(2)
public class ProxyCachingConfiguration
extends AbstractCachingConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary
to enable proxy-based annotation-driven cache management.- Since:
- 3.1
- Author:
- Chris Beams, Juergen Hoeller
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
AbstractCachingConfiguration.CachingConfigurerSupplier
-
Field Summary
Fields inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncacheAdvisor
(CacheOperationSource cacheOperationSource, CacheInterceptor cacheInterceptor) cacheInterceptor
(CacheOperationSource cacheOperationSource) Methods inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration
setImportMetadata, useCachingConfigurer
-
Constructor Details
-
ProxyCachingConfiguration
public ProxyCachingConfiguration()
-
-
Method Details
-
cacheAdvisor
@Bean(name="org.springframework.cache.config.internalCacheAdvisor") @Role(2) public BeanFactoryCacheOperationSourceAdvisor cacheAdvisor(CacheOperationSource cacheOperationSource, CacheInterceptor cacheInterceptor) -
cacheOperationSource
-
cacheInterceptor
-