com.atlassian.confluence.cache.ehcache
Class EhCacheConfig
java.lang.Object
com.atlassian.confluence.cache.ehcache.EhCacheConfig
public class EhCacheConfig
- extends Object
Class that represents Confluence's ehcache.xml. Exposes it both as a file and a stream.
This class also ensures that the default ehcache.xml file in the classpath is copied into home directory to allow it
to be customized.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhCacheConfig
public EhCacheConfig(BootstrapManager bootstrapManager)
getFile
public File getFile()
- Returns:
- location of ehcache.xml
getInputStream
public InputStream getInputStream()
- Returns an input stream of the ehcache config file.
- Returns:
- an input stream of the ehcache config file.
Copyright © 2003-2011 Atlassian. All Rights Reserved.