com.atlassian.confluence.cache.ehcache
Class EhCacheConfig
java.lang.Object
com.atlassian.confluence.cache.ehcache.EhCacheConfig
public class EhCacheConfig
- extends java.lang.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.
Method Summary |
java.io.File |
getFile()
|
java.io.InputStream |
getInputStream()
Returns an input stream of the ehcache config file. |
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 java.io.File getFile()
- Returns:
- location of ehcache.xml
getInputStream
public java.io.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.