com.atlassian.confluence.setup
Class BootstrapUtils

java.lang.Object
  extended bycom.atlassian.confluence.setup.BootstrapUtils

public class BootstrapUtils
extends Object

Confluence's Bootstrap utils class. Most of the methods here has been depcrecated. Use BootstrapUtils in atlassian-config instead.


Constructor Summary
BootstrapUtils()
           
 
Method Summary
static void closeContext()
          Deprecated. Use BootstrapUtils.closeContext() instead.
static org.springframework.context.ApplicationContext getBootstrapContext()
          Deprecated. Use BootstrapUtils.getBootstrapContext() instead.
static BootstrapManager getBootstrapManager()
          Deprecated. Use BootstrapUtils.getBootstrapManager() instead.
static PluginResourceDownload getSimplePluginResourceDownload()
          Instantiates PluginResourceDownload, but manually injects the PluginManager from the bootstrap context (rather than the Spring context).
static void setBootstrapContext(org.springframework.context.ApplicationContext bootstrapContext)
          Deprecated. Use BootstrapUtils.setBootstrapContext(ApplicationContext) instead.
static void setBootstrapManager(BootstrapManager bootstrapManager)
          Deprecated. Use BootstrapUtils.setBootstrapManager(AtlassianBootstrapManager) instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapUtils

public BootstrapUtils()
Method Detail

getBootstrapContext

public static org.springframework.context.ApplicationContext getBootstrapContext()
Deprecated. Use BootstrapUtils.getBootstrapContext() instead.


setBootstrapContext

public static void setBootstrapContext(org.springframework.context.ApplicationContext bootstrapContext)
Deprecated. Use BootstrapUtils.setBootstrapContext(ApplicationContext) instead.


getBootstrapManager

public static BootstrapManager getBootstrapManager()
Deprecated. Use BootstrapUtils.getBootstrapManager() instead.


setBootstrapManager

public static void setBootstrapManager(BootstrapManager bootstrapManager)
Deprecated. Use BootstrapUtils.setBootstrapManager(AtlassianBootstrapManager) instead.


closeContext

public static void closeContext()
Deprecated. Use BootstrapUtils.closeContext() instead.


getSimplePluginResourceDownload

public static PluginResourceDownload getSimplePluginResourceDownload()
Instantiates PluginResourceDownload, but manually injects the PluginManager from the bootstrap context (rather than the Spring context). This should only be used during the bootstrap or setup process.

Returns:
PluginResourceDownload instance


Confluence is developed by Atlassian.