|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.core.impl.cache.CacheManagerRegistryImpl
public final class CacheManagerRegistryImpl
A simple class that holds a global registry to the cache managers.
| Constructor Summary | |
|---|---|
CacheManagerRegistryImpl()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheManagerRegistryImpl()
| Method Detail |
|---|
public void setCacheManager(org.springframework.cache.CacheManager c)
public List<org.springframework.cache.CacheManager> getCacheManagers()
CacheManagerRegistry
getCacheManagers in interface CacheManagerRegistrypublic org.springframework.cache.CacheManager getCacheManager(String name)
CacheManagerRegistry
getCacheManager in interface CacheManagerRegistryname - the cache manager name
public String getCacheManagerName(org.springframework.cache.CacheManager cm)
CacheManagerRegistry
getCacheManagerName in interface CacheManagerRegistrycm - the cache manager
public org.springframework.cache.CacheManager getCacheManagerByCacheName(String cacheName)
CacheManagerRegistry
getCacheManagerByCacheName in interface CacheManagerRegistrycacheName - the name of a Cache in a CacheManager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||