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
static java.lang.String CONFIG_BASE
           
static java.lang.String CONFIG_CLUSTERED
           
 
Constructor Summary
TangosolCacheConfigurationLoader(BootstrapManager bootstrapManager)
           
 
Method Summary
 java.lang.String getConfigurationFilePath(boolean clustered)
           
 void loadConfiguration(boolean clustered)
           
 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
Constructor Detail

TangosolCacheConfigurationLoader

public TangosolCacheConfigurationLoader(BootstrapManager bootstrapManager)
Method Detail

loadConfiguration

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

getConfigurationFilePath

public java.lang.String getConfigurationFilePath(boolean clustered)

setStandardConfig

public void setStandardConfig(java.lang.String standardConfig)

setClusteredConfig

public void setClusteredConfig(java.lang.String clusteredConfig)


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