|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.config.ConfigurationFactory
public final class ConfigurationFactory
A utility class which configures beans from XML, using reflection.
Method Summary | |
---|---|
static CacheConfiguration |
parseCacheConfiguration(String xmlString)
Configures a cache bean from a string of XML. |
static Configuration |
parseConfiguration()
Configures a bean from an XML file in the classpath. |
static Configuration |
parseConfiguration(File file)
Configures a bean from an XML file. |
static Configuration |
parseConfiguration(InputStream inputStream)
Configures a bean from an XML input stream. |
static Configuration |
parseConfiguration(URL url)
Configures a bean from an XML file available as an URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Configuration parseConfiguration(File file) throws CacheException
CacheException
public static Configuration parseConfiguration(URL url) throws CacheException
CacheException
public static Configuration parseConfiguration() throws CacheException
CacheException
public static Configuration parseConfiguration(InputStream inputStream) throws CacheException
CacheException
public static CacheConfiguration parseCacheConfiguration(String xmlString) throws CacheException
CacheException
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |