|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.config.generator.ConfigurationSource
public abstract class ConfigurationSource
Class encapsulating the source of configuration for a cache manager
Constructor Summary | |
---|---|
protected |
ConfigurationSource()
protected constructor |
Method Summary | |
---|---|
abstract Configuration |
createConfiguration()
Abstract method used for creating a Configuration based on the source |
static ConfigurationSource |
getConfigurationSource()
Utility factory method for creating a ConfigurationSource based on default settings (default ehcache.xml in classpath if one
is present or an ehcache-failsafe provided with the kit |
static ConfigurationSource |
getConfigurationSource(File file)
Utility factory method for creating a ConfigurationSource based on a file. |
static ConfigurationSource |
getConfigurationSource(InputStream configFileStream)
Utility factory method for creating a ConfigurationSource based on InputStream |
static ConfigurationSource |
getConfigurationSource(URL configFileURL)
Utility factory method for creating a ConfigurationSource based on URL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ConfigurationSource()
Method Detail |
---|
public static ConfigurationSource getConfigurationSource(File file)
ConfigurationSource
based on a file.
file
-
public static ConfigurationSource getConfigurationSource(URL configFileURL)
ConfigurationSource
based on URL
configFileURL
-
public static ConfigurationSource getConfigurationSource(InputStream configFileStream)
ConfigurationSource
based on InputStream
configFileStream
-
public static ConfigurationSource getConfigurationSource()
ConfigurationSource
based on default settings (default ehcache.xml in classpath if one
is present or an ehcache-failsafe provided with the kit
public abstract Configuration createConfiguration()
Configuration
based on the source
Configuration
based on the source
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |