org.ajax4jsf.cache
Class CacheManager
java.lang.Object
org.ajax4jsf.cache.CacheManager
public class CacheManager
- extends java.lang.Object
CacheManager is used in J2SE environments for looking up named caches.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_MANAGER_FACTORY_CLASS
public static final java.lang.String CACHE_MANAGER_FACTORY_CLASS
- See Also:
- Constant Field Values
instance
protected static CacheManager instance
CacheManager
public CacheManager()
getInstance
public static CacheManager getInstance()
- Returns the singleton CacheManager
getCache
public Cache getCache(java.lang.String cacheName)
registerCache
public void registerCache(java.lang.String cacheName,
Cache cache)
getCacheFactory
public CacheFactory getCacheFactory(java.util.Map env)
throws CacheException
- Throws:
CacheException
Copyright © 2010. All Rights Reserved.