org.ajax4jsf.cache
Class CacheManager

java.lang.Object
  extended by org.ajax4jsf.cache.CacheManager

public class CacheManager
extends java.lang.Object

CacheManager is used in J2SE environments for looking up named caches.


Field Summary
static java.lang.String CACHE_MANAGER_FACTORY_CLASS
           
protected static CacheManager instance
           
 
Constructor Summary
CacheManager()
           
 
Method Summary
 Cache getCache(java.lang.String cacheName)
           
 CacheFactory getCacheFactory(java.util.Map env)
           
static CacheManager getInstance()
          Returns the singleton CacheManager
 void registerCache(java.lang.String cacheName, Cache cache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_MANAGER_FACTORY_CLASS

public static final java.lang.String CACHE_MANAGER_FACTORY_CLASS
See Also:
Constant Field Values

instance

protected static CacheManager instance
Constructor Detail

CacheManager

public CacheManager()
Method Detail

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.