|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheManagerRegistry
Allows access to a registry of CacheManager
instances that are identified by name.
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. |
Method Detail |
---|
List<org.springframework.cache.CacheManager> getCacheManagers()
org.springframework.cache.CacheManager getCacheManager(String name)
name
- the cache manager name
IllegalArgumentException
- if the name is null or blankString getCacheManagerName(org.springframework.cache.CacheManager cm)
cm
- the cache manager
IllegalArgumentException
- 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 blank
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |