net.sf.ehcache.config
public final class ConfigurationHelper extends Object
Version: $Id: ConfigurationHelper.java 101 2006-05-30 08:21:14Z gregluck $
Constructor Summary | |
---|---|
ConfigurationHelper(CacheManager cacheManager, Configuration configuration)
Only Constructor
|
Method Summary | |
---|---|
BootstrapCacheLoader | createBootstrapCacheLoader(CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration factoryConfiguration)
Tries to load the class specified.
|
Cache | createCache(CacheConfiguration cacheConfiguration)
Create a cache given a cache configuration
|
Ehcache | createCacheFromName(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 |
Set | createCaches()
Creates unitialised caches for each cache configuration found
|
Ehcache | createDefaultCache() |
Configuration | getConfigurationBean() |
String | getDiskStorePath() |
protected static void | registerCacheListeners(CacheConfiguration cacheConfiguration, RegisteredEventListeners registeredEventListeners)
A factory method to create a RegisteredEventListeners |
Parameters: cacheManager configuration
Returns: If there is none returns null.
Parameters: cacheConfiguration
Returns: the cache, or null if there is no match
Returns: If there is none returns null.
Returns: an empty set if there are none,
Returns: the Default Cache
Throws: net.sf.ehcache.CacheException if there is no default cache
Returns: the Configuration used
Returns: the disk store path, or null if not set.