|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.util.CacheManagerFactory
A factory for obtaining ehcache CacheManagers. This simplifies the process of obtaining a CacheManager.
Method Summary | |
static net.sf.ehcache.CacheManager |
getCacheManager(java.lang.String configFilePath)
Creates a CacheManager using the configuration file at configFilePath, then adds the CacheManager to an internal Map. |
static net.sf.ehcache.CacheManager |
getCacheManager(java.net.URL configFileURL)
Creates a CacheManager using the configuration file at configFileURL, then adds the CacheManager to an internal Map. |
static net.sf.ehcache.CacheManager |
getDefaultCacheManager()
Retrieves the default CacheManager using the default configuration file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static net.sf.ehcache.CacheManager getDefaultCacheManager() throws net.sf.ehcache.CacheException
net.sf.ehcache.CacheException
public static net.sf.ehcache.CacheManager getCacheManager(java.lang.String configFilePath) throws net.sf.ehcache.CacheException
configFilePath
- path to the configuration file to use.
net.sf.ehcache.CacheException
public static net.sf.ehcache.CacheManager getCacheManager(java.net.URL configFileURL) throws net.sf.ehcache.CacheException
configFileURL
- URL to the configuration file to use.
net.sf.ehcache.CacheException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |