|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.config.generator.ConfigurationUtil
public abstract class ConfigurationUtil
Utility class with static methods for generating configuration texts in different ways based on input
Constructor Summary | |
---|---|
ConfigurationUtil()
|
Method Summary | |
---|---|
static java.lang.String |
generateConfigurationTextForCache(CacheManager cacheManager,
java.lang.String cacheName)
Generates configuration text for a cache based on the Cache present in the input CacheManager for the input cacheName |
static java.lang.String |
generateConfigurationTextForCacheFromSource(ConfigurationSource configSource,
java.lang.String cacheName)
Generates configuration text for a cache from the ConfigurationSource |
static java.lang.String |
generateConfigurationTextFromConfiguration(CacheManager cacheManager,
Configuration configuration)
Generates configuration text based on the input Configuration . |
static java.lang.String |
generateConfigurationTextFromSource(ConfigurationSource configSource)
Generate configuration text based on the input ConfigurationSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationUtil()
Method Detail |
---|
public static java.lang.String generateConfigurationTextFromSource(ConfigurationSource configSource)
ConfigurationSource
configSource
-
ConfigurationSource
public static java.lang.String generateConfigurationTextFromConfiguration(CacheManager cacheManager, Configuration configuration)
Configuration
. CacheConfiguration
's from the input
CacheManager
will override the CacheConfiguration
present in the Configuration
cacheManager
- configuration
-
Configuration
and CacheManager
public static java.lang.String generateConfigurationTextForCacheFromSource(ConfigurationSource configSource, java.lang.String cacheName)
ConfigurationSource
configSource
- cacheName
-
public static java.lang.String generateConfigurationTextForCache(CacheManager cacheManager, java.lang.String cacheName)
Cache
present in the input CacheManager
for the input cacheName
cacheManager
- cacheName
-
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |