org.xwiki.cache.util
Class AbstractCacheConfigurationLoader

java.lang.Object
  extended by org.xwiki.cache.util.AbstractCacheConfigurationLoader

public abstract class AbstractCacheConfigurationLoader
extends Object

Base class to load cache configuration.

Version:
$Id: e541bc157b23dbc1ea4763390f952697fb48d213 $

Constructor Summary
AbstractCacheConfigurationLoader(CacheConfiguration configuration, String defaultPropsId)
           
 
Method Summary
protected  String createTempDir()
           
 CacheConfiguration getCacheConfiguration()
           
 String getDefaultPropsId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCacheConfigurationLoader

public AbstractCacheConfigurationLoader(CacheConfiguration configuration,
                                        String defaultPropsId)
Parameters:
configuration - the XWiki cache API configuration.
defaultPropsId - the default configuration identifier used to load cache configuration file.
Method Detail

getCacheConfiguration

public CacheConfiguration getCacheConfiguration()
Returns:
the XWiki cache API configuration.

createTempDir

protected String createTempDir()
Returns:
the path of the temporary local folder based on configuration identifier

getDefaultPropsId

public String getDefaultPropsId()
Returns:
the default configuration identifier used to load cache configuration file.


Copyright © 2004–2014 XWiki. All rights reserved.