|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.config.ConfigurationHelper
public final class ConfigurationHelper
The configuration for ehcache.
This class can be populated through:ConfigurationFactory or
| Constructor Summary | |
|---|---|
ConfigurationHelper(CacheManager cacheManager,
Configuration configuration)
Only Constructor |
|
| Method Summary | |
|---|---|
BootstrapCacheLoader |
createBootstrapCacheLoader(CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration factoryConfiguration)
Tries to load the class specified. |
(package private) Cache |
createCache(CacheConfiguration cacheConfiguration)
Create a cache given a cache configuration |
(package private) Ehcache |
createCacheFromName(java.lang.String name)
Creates a cache from configuration where the configuration cache name matches the given name |
CacheManagerEventListener |
createCacheManagerEventListener()
Tries to load the class specified. |
CacheManagerPeerListener |
createCachePeerListener()
Tries to load the class specified otherwise defaults to null |
CacheManagerPeerProvider |
createCachePeerProvider()
Tries to load the class specified otherwise defaults to null |
java.util.Set |
createCaches()
Creates unitialised caches for each cache configuration found |
Ehcache |
createDefaultCache()
|
Configuration |
getConfigurationBean()
|
java.lang.String |
getDiskStorePath()
|
protected static void |
registerCacheListeners(CacheConfiguration cacheConfiguration,
RegisteredEventListeners registeredEventListeners)
A factory method to create a RegisteredEventListeners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationHelper(CacheManager cacheManager,
Configuration configuration)
cacheManager - configuration - | Method Detail |
|---|
protected static void registerCacheListeners(CacheConfiguration cacheConfiguration,
RegisteredEventListeners registeredEventListeners)
public final BootstrapCacheLoader createBootstrapCacheLoader(CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration factoryConfiguration)
throws CacheException
CacheExceptionpublic final CacheManagerPeerProvider createCachePeerProvider()
public final CacheManagerPeerListener createCachePeerListener()
public final CacheManagerEventListener createCacheManagerEventListener()
throws CacheException
CacheExceptionpublic final java.lang.String getDiskStorePath()
public final Ehcache createDefaultCache()
throws CacheException
CacheException - if there is no default cachepublic final java.util.Set createCaches()
final Ehcache createCacheFromName(java.lang.String name)
final Cache createCache(CacheConfiguration cacheConfiguration)
cacheConfiguration - public final Configuration getConfigurationBean()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||