@Configuration(proxyBeanMethods=false) public abstract class AbstractCachingConfiguration extends Object implements ImportAware
@Configuration class providing common structure
 for enabling Spring's annotation-driven cache management capability.EnableCaching| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | AbstractCachingConfiguration.CachingConfigurerSupplier | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Supplier<CacheManager> | cacheManager | 
| protected Supplier<CacheResolver> | cacheResolver | 
| protected AnnotationAttributes | enableCaching | 
| protected Supplier<CacheErrorHandler> | errorHandler | 
| protected Supplier<KeyGenerator> | keyGenerator | 
| Constructor and Description | 
|---|
| AbstractCachingConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | setImportMetadata(AnnotationMetadata importMetadata)Set the annotation metadata of the importing @ Configurationclass. | 
| protected void | useCachingConfigurer(AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier)Extract the configuration from the nominated  CachingConfigurer. | 
@Nullable protected AnnotationAttributes enableCaching
@Nullable protected Supplier<CacheManager> cacheManager
@Nullable protected Supplier<CacheResolver> cacheResolver
@Nullable protected Supplier<KeyGenerator> keyGenerator
@Nullable protected Supplier<CacheErrorHandler> errorHandler
public void setImportMetadata(AnnotationMetadata importMetadata)
ImportAwareConfiguration class.setImportMetadata in interface ImportAwareprotected void useCachingConfigurer(AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier)
CachingConfigurer.