|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.CacheInitializationHelper
public class CacheInitializationHelper
Helper class to initialize an Ehcache
with a CacheManager
without
adding the Ehcache
to the CacheManager
.
Constructor Summary | |
---|---|
CacheInitializationHelper(CacheManager cacheManager)
Create a cache initializer with the given CacheManager |
Method Summary | |
---|---|
static CacheManager |
getInitializingCacheManager(String name)
Get a currently initializing CacheManager by name |
static void |
initializeEhcache(CacheManager cacheManager,
Ehcache cache)
Initialize the given Ehcache using the given CacheManager |
void |
initializeEhcache(Ehcache cache)
Initialize the Ehcache . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheInitializationHelper(CacheManager cacheManager)
CacheManager
cacheManager
- Method Detail |
---|
public void initializeEhcache(Ehcache cache)
Ehcache
.
cache
- public static void initializeEhcache(CacheManager cacheManager, Ehcache cache)
Ehcache
using the given CacheManager
cacheManager
- cache
- public static CacheManager getInitializingCacheManager(String name)
CacheManager
by name
name
- name of the CacheManager
, can be null
CacheManager
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |