com.atlassian.confluence.setup.bandana
Class ConfluenceBandanaPersister

java.lang.Object
  extended by com.atlassian.confluence.setup.bandana.ConfluenceBandanaPersister
All Implemented Interfaces:
com.atlassian.bandana.BandanaPersister

public class ConfluenceBandanaPersister
extends java.lang.Object
implements com.atlassian.bandana.BandanaPersister


Field Summary
static java.lang.String CONFIG_DIRECTORY_NAME
           
static java.lang.String GLOBAL_CONFIG_FILE_NAME
           
static java.lang.String SPACE_CONFIG_FILE_NAME
           
 
Constructor Summary
ConfluenceBandanaPersister()
           
 
Method Summary
 void flushCaches()
           
protected  java.lang.String getBasePath()
           
 void remove(com.atlassian.bandana.BandanaContext bandanaContext)
          if space context passed in, remove the whole directory for space if global context passed in, remove the global bandana config file only
 void remove(com.atlassian.bandana.BandanaContext context, java.lang.String key)
           
 java.util.Map retrieve(com.atlassian.bandana.BandanaContext context)
           
 java.lang.Object retrieve(com.atlassian.bandana.BandanaContext context, java.lang.String key)
           
 void setBootstrapManager(BootstrapManager bootstrapManager)
           
 void setxStreamManager(XStreamManager xStreamManager)
           
 void store(com.atlassian.bandana.BandanaContext context, java.lang.String key, java.lang.Object configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_DIRECTORY_NAME

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

GLOBAL_CONFIG_FILE_NAME

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

SPACE_CONFIG_FILE_NAME

public static final java.lang.String SPACE_CONFIG_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

ConfluenceBandanaPersister

public ConfluenceBandanaPersister()
Method Detail

retrieve

public java.lang.Object retrieve(com.atlassian.bandana.BandanaContext context,
                                 java.lang.String key)
Specified by:
retrieve in interface com.atlassian.bandana.BandanaPersister

retrieve

public java.util.Map retrieve(com.atlassian.bandana.BandanaContext context)
Specified by:
retrieve in interface com.atlassian.bandana.BandanaPersister

store

public void store(com.atlassian.bandana.BandanaContext context,
                  java.lang.String key,
                  java.lang.Object configuration)
Specified by:
store in interface com.atlassian.bandana.BandanaPersister

getBasePath

protected java.lang.String getBasePath()

setxStreamManager

public void setxStreamManager(XStreamManager xStreamManager)

setBootstrapManager

public void setBootstrapManager(BootstrapManager bootstrapManager)

flushCaches

public void flushCaches()
Specified by:
flushCaches in interface com.atlassian.bandana.BandanaPersister

remove

public void remove(com.atlassian.bandana.BandanaContext bandanaContext)
if space context passed in, remove the whole directory for space if global context passed in, remove the global bandana config file only

Specified by:
remove in interface com.atlassian.bandana.BandanaPersister
Parameters:
bandanaContext -

remove

public void remove(com.atlassian.bandana.BandanaContext context,
                   java.lang.String key)
Specified by:
remove in interface com.atlassian.bandana.BandanaPersister


Copyright © 2003-2010 Atlassian. All Rights Reserved.