com.atlassian.confluence.setup
Class BootstrapUtils

java.lang.Object
  extended by com.atlassian.confluence.setup.BootstrapUtils

public class BootstrapUtils
extends java.lang.Object

Confluence's Bootstrap utils class. Most of the methods here has been deprecated. 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 com.atlassian.plugin.servlet.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 com.atlassian.plugin.servlet.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


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