com.atlassian.confluence.cache.tangosol
Class TangosolCacheConfigurationLoader

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

public class TangosolCacheConfigurationLoader
extends java.lang.Object
implements CacheConfigurationLoader

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


Field Summary
protected  java.lang.String clusteredConfig
           
static java.lang.String CONFIG_BASE
           
static java.lang.String CONFIG_CLUSTERED
           
protected  java.lang.String standardConfig
           
 
Constructor Summary
TangosolCacheConfigurationLoader()
           
 
Method Summary
 void loadConfiguration(boolean clustered)
           
protected  void loadConfigurationFile(java.lang.String configFile, com.tangosol.net.ConfigurableCacheFactory cacheFactory)
           
 void setClusteredConfig(java.lang.String clusteredConfig)
           
 void setStandardConfig(java.lang.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 java.lang.String CONFIG_BASE
See Also:
Constant Field Values

CONFIG_CLUSTERED

public static final java.lang.String CONFIG_CLUSTERED
See Also:
Constant Field Values

standardConfig

protected java.lang.String standardConfig

clusteredConfig

protected java.lang.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(java.lang.String configFile,
                                     com.tangosol.net.ConfigurableCacheFactory cacheFactory)

setStandardConfig

public void setStandardConfig(java.lang.String standardConfig)

setClusteredConfig

public void setClusteredConfig(java.lang.String clusteredConfig)


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.