@Configuration(proxyBeanMethods=false) @Role(value=2) public class AspectJJCacheConfiguration extends AbstractJCacheConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary
to enable AspectJ-based annotation-driven cache management for standard JSR-107
annotations.EnableCaching
,
CachingConfigurationSelector
exceptionCacheResolver
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
Constructor and Description |
---|
AspectJJCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cache.aspectj.JCacheCacheAspect |
cacheAspect(JCacheOperationSource jCacheOperationSource) |
cacheOperationSource, useCachingConfigurer
setImportMetadata
@Bean(name="org.springframework.cache.config.internalJCacheAspect") @Role(value=2) public org.springframework.cache.aspectj.JCacheCacheAspect cacheAspect(JCacheOperationSource jCacheOperationSource)