com.atlassian.confluence.cache.tangosol
Class TangosolCacheConfigurationLoader

java.lang.Object
  extended bycom.atlassian.confluence.cache.tangosol.TangosolCacheConfigurationLoader
All Implemented Interfaces:
CacheConfigurationLoader

public class TangosolCacheConfigurationLoader
extends Object
implements CacheConfigurationLoader

Configures Coherence with the appropriate cache configuration file, depending on whether clustering is enabled or not


Field Summary
protected  String clusteredConfig
           
static String CONFIG_BASE
           
static String CONFIG_CLUSTERED
           
protected  String standardConfig
           
 
Constructor Summary
TangosolCacheConfigurationLoader()
           
 
Method Summary
 void loadConfiguration(boolean clustered)
           
protected  void loadConfigurationFile(String configFile, com.tangosol.net.ConfigurableCacheFactory cacheFactory)
           
 void setClusteredConfig(String clusteredConfig)
           
 void setStandardConfig(String standardConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_BASE

public static final String CONFIG_BASE
See Also:
Constant Field Values

CONFIG_CLUSTERED

public static final String CONFIG_CLUSTERED
See Also:
Constant Field Values

standardConfig

protected String standardConfig

clusteredConfig

protected String clusteredConfig
Constructor Detail

TangosolCacheConfigurationLoader

public TangosolCacheConfigurationLoader()
Method Detail

loadConfiguration

public void loadConfiguration(boolean clustered)
Specified by:
loadConfiguration in interface CacheConfigurationLoader

loadConfigurationFile

protected void loadConfigurationFile(String configFile,
                                     com.tangosol.net.ConfigurableCacheFactory cacheFactory)

setStandardConfig

public void setStandardConfig(String standardConfig)

setClusteredConfig

public void setClusteredConfig(String clusteredConfig)


Confluence is developed by Atlassian.