org.springframework.cache.annotation
Class ProxyCachingConfiguration
java.lang.Object
org.springframework.cache.annotation.AbstractCachingConfiguration
org.springframework.cache.annotation.ProxyCachingConfiguration
- All Implemented Interfaces:
- Aware, ImportAware
@Configuration
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
- See Also:
EnableCaching
,
CachingConfigurationSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyCachingConfiguration
public ProxyCachingConfiguration()
cacheAdvisor
@Bean(name="org.springframework.cache.config.internalCacheAdvisor")
@Role(value=2)
public BeanFactoryCacheOperationSourceAdvisor cacheAdvisor()
cacheOperationSource
@Bean
@Role(value=2)
public CacheOperationSource cacheOperationSource()
cacheInterceptor
@Bean
@Role(value=2)
public CacheInterceptor cacheInterceptor()