public class CacheManagerCustomizers extends Object
CacheManagerCustomizer
instances in the context for a
given CacheManager
.Constructor and Description |
---|
CacheManagerCustomizers(List<? extends CacheManagerCustomizer<?>> customizers) |
Modifier and Type | Method and Description |
---|---|
<T extends CacheManager> |
customize(T cacheManager)
Customize the specified
CacheManager . |
public CacheManagerCustomizers(List<? extends CacheManagerCustomizer<?>> customizers)
public <T extends CacheManager> T customize(T cacheManager)
CacheManager
. Locates all
CacheManagerCustomizer
beans able to handle the specified instance and
invoke CacheManagerCustomizer.customize(CacheManager)
on them.T
- the type of cache managercacheManager
- the cache manager to customizeCopyright © 2021 Pivotal Software, Inc.. All rights reserved.