Class CacheManagerCustomizers
java.lang.Object
org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers
Invokes the available
CacheManagerCustomizer instances in the context for a
given CacheManager.- Since:
- 1.5.0
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionCacheManagerCustomizers(List<? extends CacheManagerCustomizer<?>> customizers) -
Method Summary
Modifier and TypeMethodDescription<T extends CacheManager>
Tcustomize(T cacheManager) Customize the specifiedCacheManager.
-
Constructor Details
-
CacheManagerCustomizers
-
-
Method Details
-
customize
Customize the specifiedCacheManager. Locates allCacheManagerCustomizerbeans able to handle the specified instance and invokeCacheManagerCustomizer.customize(CacheManager)on them.- Type Parameters:
T- the type of cache manager- Parameters:
cacheManager- the cache manager to customize- Returns:
- the cache manager
-