public interface BootstrapManager extends com.atlassian.config.bootstrap.AtlassianBootstrapManager, ConfluenceBootstrapConstants
ATLASSIAN_LICENSE_KEY, ATTACHMENTS_DIR_PROP, CONFLUENCE_HOME_CONSTANT, CONFLUENCE_LOCAL_HOME_CONSTANT, DEFAULT_LICENSE_REGISTRY_KEY, GLOBAL_PLUGIN_STATE, INSTALLATION_DATE_KEY, LICENSE_HASH_KEY, LICENSE_MESSAGE_KEY, LUCENE_INDEX_DIR_PROP, TEMP_DIR_PROP, WEBAPP_CONTEXT_PATH_KEY
Modifier and Type | Method and Description |
---|---|
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
getConfiguredLocalHome() or AtlassianBootstrapManager.getConfiguredApplicationHome() instead |
File |
getConfiguredLocalHome()
Returns the configured local home or null if not configured.
|
String |
getConfluenceHome()
Deprecated.
since 5.5. Migrate to either
getSharedHome() or
getLocalHome() instead. |
String |
getDomainName()
Deprecated.
since 4.2 use getBaseUrl() on
SettingsManager.getGlobalSettings() instead |
File |
getLocalHome()
Confluence local home directory.
|
File |
getSharedHome()
Confluence shared home directory.
|
String |
getWebAppContextPath() |
boolean |
isWebAppContextPathSet() |
void |
setConfluenceHome(String confluenceHome) |
void |
setWebAppContextPath(String webAppContextPath) |
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
@Deprecated String getConfluenceHome()
getSharedHome()
or
getLocalHome()
instead.File getSharedHome()
This directory is shared between all nodes in a cluster. In non-clustered installations without a shared directory, directory called "shared-home" inside local home directory is returned instead.
This directory should be used for data that can be safely shared across a cluster. Any users of this directory should take into account locking to prevent concurrency errors.
File getLocalHome()
This directory is only visible to the local node in a cluster.
This directory should be used for data that must be node specific and cannot be shared between cluster nodes.
void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
@Deprecated String getBaseUrl()
SettingsManager.getGlobalSettings()
instead@Deprecated String getDomainName()
SettingsManager.getGlobalSettings()
instead@Deprecated String getConfiguredConfluenceHome()
getConfiguredLocalHome()
or AtlassianBootstrapManager.getConfiguredApplicationHome()
insteadFile getConfiguredLocalHome()
Only bootstrap code should need this method. Most code should use
getLocalHome()
instead.
String getWebAppContextPath()
void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
boolean isWebAppContextPathSet()
void checkConfigurationOnStartup() throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
void bootstrapSharedConfiguration(SharedConfigurationMap sharedConfig) throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
Copyright © 2003–2015 Atlassian. All rights reserved.