net.sf.ehcache.config
public final class ConfigurationHelper extends Object
Version: $Id: ConfigurationHelper.java 52 2006-04-24 14:50:03Z gregluck $
Constructor Summary | |
---|---|
ConfigurationHelper(CacheManager cacheManager, Configuration configuration)
Only Constructor
|
Method Summary | |
---|---|
Cache | createCache(CacheConfiguration cacheConfiguration)
Create a cache given a cache configuration
|
Cache | 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
|
Cache | createDefaultCache() |
Configuration | getConfigurationBean() |
String | getDiskStorePath() |
protected static void | registerCacheListeners(CacheConfiguration cacheConfiguration, RegisteredEventListeners registeredEventListeners)
A factory method to create a RegisteredEventListeners |
Parameters: cacheManager configuration
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.