public final class CacheManagerRegistryImpl extends Object implements CacheManagerRegistry
Constructor and Description |
---|
CacheManagerRegistryImpl() |
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.
|
void |
setCacheManager(org.springframework.cache.CacheManager c) |
public CacheManagerRegistryImpl()
public void setCacheManager(org.springframework.cache.CacheManager c)
public List<org.springframework.cache.CacheManager> getCacheManagers()
CacheManagerRegistry
getCacheManagers
in interface CacheManagerRegistry
public org.springframework.cache.CacheManager getCacheManager(String name)
CacheManagerRegistry
getCacheManager
in interface CacheManagerRegistry
name
- the cache manager namepublic String getCacheManagerName(org.springframework.cache.CacheManager cm)
CacheManagerRegistry
getCacheManagerName
in interface CacheManagerRegistry
cm
- the cache managerpublic org.springframework.cache.CacheManager getCacheManagerByCacheName(String cacheName)
CacheManagerRegistry
getCacheManagerByCacheName
in interface CacheManagerRegistry
cacheName
- the name of a Cache in a CacheManager.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.