@Configuration @Role(value=2) public class AspectJCachingConfiguration extends AbstractCachingConfiguration
@Configuration
class that registers the Spring infrastructure beans
necessary to enable AspectJ-based annotation-driven cache management.EnableCaching
,
CachingConfigurationSelector
cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
Constructor and Description |
---|
AspectJCachingConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cache.aspectj.AnnotationCacheAspect |
cacheAspect() |
setImportMetadata, useCachingConfigurer