ehcache

net.sf.jsr107cache
Class CacheManager

java.lang.Object
  extended by net.sf.jsr107cache.CacheManager

public class CacheManager
extends java.lang.Object

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


Field Summary
protected static CacheManager instance
           
 
Constructor Summary
CacheManager()
           
 
Method Summary
 Cache getCache(java.lang.String cacheName)
           
 CacheFactory getCacheFactory()
           
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

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()
                             throws CacheException
Throws:
CacheException

ehcache

true