public interface CacheManagerRegistry
CacheManager
instances that are identified by name.Modifier and Type | Method and Description |
---|---|
org.springframework.cache.CacheManager |
getCacheManager(String name)
Gets a cache manager for a given name.
|
org.springframework.cache.CacheManager |
getCacheManagerByCacheName(String cacheName)
Gets a cache manager for a given cache name.
|
String |
getCacheManagerName(org.springframework.cache.CacheManager cm)
Gets the name of a cache manager.
|
List<org.springframework.cache.CacheManager> |
getCacheManagers()
Will return a list of registered cache managers.
|
List<org.springframework.cache.CacheManager> getCacheManagers()
org.springframework.cache.CacheManager getCacheManager(String name)
name
- the cache manager nameIllegalArgumentException
- if the name is null or blankString getCacheManagerName(org.springframework.cache.CacheManager cm)
cm
- the cache managerIllegalArgumentException
- if the cm is nullorg.springframework.cache.CacheManager getCacheManagerByCacheName(String cacheName)
cacheName
- the name of a Cache in a CacheManager.IllegalArgumentException
- if the name is null or blankCopyright © 2005–2014 The Kuali Foundation. All rights reserved.