|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BootstrapManager
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, 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 |
Method Summary | |
---|---|
void |
bootstrapSharedConfiguration(SharedConfigurationMap sharedConfig)
Starts Confluence with a database configuration that has been retrieved from another cluster node. |
void |
checkConfigurationOnStartup()
|
java.lang.String |
getBaseUrl()
Deprecated. since 2.8 use getBaseUrl() on SettingsManager.getGlobalSettings() instead |
java.lang.String |
getConfiguredConfluenceHome()
Deprecated. since 2.8 use getConfiguredLocalHome() or AtlassianBootstrapManager.getConfiguredApplicationHome() instead |
java.io.File |
getConfiguredLocalHome()
Returns the configured local home or null if not configured. |
java.lang.String |
getConfluenceHome()
Deprecated. since 5.5. Migrate to either getSharedHome() or
getLocalHome() instead. |
java.lang.String |
getDomainName()
Deprecated. since 4.2 use getBaseUrl() on SettingsManager.getGlobalSettings() instead |
java.io.File |
getLocalHome()
Confluence local home directory. |
java.io.File |
getSharedHome()
Confluence shared home directory. |
java.lang.String |
getWebAppContextPath()
|
boolean |
isWebAppContextPathSet()
|
void |
setConfluenceHome(java.lang.String confluenceHome)
|
void |
setWebAppContextPath(java.lang.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 |
---|
@Deprecated java.lang.String getConfluenceHome()
getSharedHome()
or
getLocalHome()
instead.
java.io.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.
java.io.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(java.lang.String confluenceHome) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
@Deprecated java.lang.String getBaseUrl()
SettingsManager.getGlobalSettings()
instead
@Deprecated java.lang.String getDomainName()
SettingsManager.getGlobalSettings()
instead
@Deprecated java.lang.String getConfiguredConfluenceHome()
getConfiguredLocalHome()
or AtlassianBootstrapManager.getConfiguredApplicationHome()
instead
java.io.File getConfiguredLocalHome()
Only bootstrap code should need this method. Most code should use
getLocalHome()
instead.
java.lang.String getWebAppContextPath()
void setWebAppContextPath(java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |