com.atlassian.confluence.setup
Interface BootstrapManager

All Superinterfaces:
com.atlassian.config.bootstrap.AtlassianBootstrapManager, ConfluenceBootstrapConstants
All Known Implementing Classes:
DefaultBootstrapManager

public interface BootstrapManager
extends com.atlassian.config.bootstrap.AtlassianBootstrapManager, ConfluenceBootstrapConstants

Controls the bootstrapping of Confluence - starting essential, core services.


Field Summary
 
Fields inherited from interface com.atlassian.confluence.setup.ConfluenceBootstrapConstants
ATTACHMENTS_DIR_PROP, CONFLUENCE_HOME_CONSTANT, DEFAULT_LICENSE_REGISTRY_KEY, GLOBAL_PLUGIN_STATE, LICENSE_HASH_KEY, LICENSE_MESSAGE_KEY, LUCENE_INDEX_DIR_PROP, TEMP_DIR_PROP, WEBAPP_CONTEXT_PATH_KEY
 
Method Summary
 void bootstrapSharedConfiguration(SharedConfigurationMap sharedConfig)
          Starts Confluence with a database configuration that has been retrieved from another cluster node.
 void checkConfigurationOnStartup()
           
 String getBaseUrl()
          Deprecated. since 2.8 use getBaseUrl() on SettingsManager.getGlobalSettings() instead
 String getConfiguredConfluenceHome()
          Deprecated. since 2.8 use AtlassianBootstrapManager.getConfiguredApplicationHome() instead
 String getConfluenceHome()
           
 String getDomainName()
          Deprecated. use getBaseUrl() on SettingsManager.getGlobalSettings() instead
 String getWebAppContextPath()
           
 boolean isWebAppContextPathSet()
           
 void setConfluenceHome(String confluenceHome)
           
 void setWebAppContextPath(String webAppContextPath)
           
 
Methods inherited from interface com.atlassian.config.bootstrap.AtlassianBootstrapManager
bootstrapDatabase, bootstrapDatasource, databaseContainsExistingData, getApplicationConfig, getApplicationHome, getBootstrapFailureReason, getBuildNumber, getConfiguredApplicationHome, getFilePathProperty, getHibernateConfig, getHibernateConfigurator, getHibernateProperties, getOperation, getPropertiesWithPrefix, getProperty, getPropertyKeys, getSetupPersister, getString, getTestDatabaseConnection, getTestDatasourceConnection, init, isApplicationHomeValid, isBootstrapped, isPropertyTrue, isSetupComplete, publishConfiguration, removeProperty, save, setBuildNumber, setHibernateConfigurator, setOperation, setProperty, setSetupComplete
 

Method Detail

getConfluenceHome

String getConfluenceHome()

setConfluenceHome

void setConfluenceHome(String confluenceHome)
                       throws com.atlassian.config.ConfigurationException
Throws:
com.atlassian.config.ConfigurationException

getBaseUrl

String getBaseUrl()
Deprecated. since 2.8 use getBaseUrl() on SettingsManager.getGlobalSettings() instead


getDomainName

String getDomainName()
Deprecated. use getBaseUrl() on SettingsManager.getGlobalSettings() instead


getConfiguredConfluenceHome

String getConfiguredConfluenceHome()
Deprecated. since 2.8 use AtlassianBootstrapManager.getConfiguredApplicationHome() instead


getWebAppContextPath

String getWebAppContextPath()

setWebAppContextPath

void setWebAppContextPath(String webAppContextPath)
                          throws com.atlassian.config.ConfigurationException
Throws:
com.atlassian.config.ConfigurationException

isWebAppContextPathSet

boolean isWebAppContextPathSet()

checkConfigurationOnStartup

void checkConfigurationOnStartup()
                                 throws com.atlassian.config.bootstrap.BootstrapException
Throws:
com.atlassian.config.bootstrap.BootstrapException

bootstrapSharedConfiguration

void bootstrapSharedConfiguration(SharedConfigurationMap sharedConfig)
                                  throws com.atlassian.config.bootstrap.BootstrapException
Starts Confluence with a database configuration that has been retrieved from another cluster node.

Throws:
com.atlassian.config.bootstrap.BootstrapException
Since:
2.3


Copyright © 2003-2011 Atlassian. All Rights Reserved.