public interface BootstrapManager extends com.atlassian.config.bootstrap.AtlassianBootstrapManager, ConfluenceBootstrapConstants
Modifier and Type | Field and Description |
---|---|
static String |
JWT_KEY_LENGTH |
static String |
JWT_PRIVATE_KEY |
static String |
JWT_PUBLIC_KEY |
static String |
SYNCHRONY_SERVICE_AUTHTOKEN |
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)
Deprecated.
since 5.9
|
void |
checkConfigurationOnStartup() |
void |
cleanupOnShutdown()
If there's any resource that needs to be cleaned up, do it here.
|
String |
getApplicationHome()
Deprecated.
since 7.14. Use
ApplicationProperties.getHomeDirectory() (plugins) or confluenceHome Spring bean (core) |
String |
getConfiguredApplicationHome()
Deprecated.
since 7.14. Use
ApplicationProperties.getHomeDirectory() (plugins) or confluenceHome Spring bean (core) |
File |
getConfiguredLocalHome()
Deprecated.
since 7.14. Use
ApplicationProperties.getLocalHomeDirectory() (plugins) or localHome Spring bean (core) |
String |
getConfluenceHome()
Deprecated.
since 5.5. Use
ApplicationProperties.getHomeDirectory() (plugins) or confluenceHome Spring bean (core) |
Optional<String> |
getDataSourceName()
Returns the name of the JNDI-based DataSource, if any.
|
String |
getFilePathProperty(String key)
Deprecated.
since 7.14 Use
ConfluenceDirectories |
String |
getHibernateDialect()
Returns the SQL dialect being used by Hibernate.
|
File |
getLocalHome()
Deprecated.
since 7.14 Use
ApplicationProperties.getLocalHomeDirectory() (plugins) or the localHome Spring bean (core) |
File |
getSharedHome()
Deprecated.
since 7.14 Use
ApplicationProperties.getSharedHomeDirectory() (plugins) or the sharedHome Spring bean (core) |
String |
getWebAppContextPath()
Deprecated.
since 7.14 Use
ContextPathHolder.getContextPath() |
boolean |
isWebAppContextPathSet()
Deprecated.
since 7.14 Use
ContextPathHolder.getContextPath() |
void |
setConfluenceHome(String confluenceHome)
Deprecated.
since 7.14
|
void |
setWebAppContextPath(String webAppContextPath)
Deprecated.
since 7.14
|
bootstrapDatabase, bootstrapDatasource, databaseContainsExistingData, getApplicationConfig, getBootstrapFailureReason, getBuildNumber, getHibernateConfig, getHibernateConfigurator, getHibernateProperties, getOperation, getPropertiesWithPrefix, getProperty, getPropertyKeys, getSetupPersister, getString, getTestDatabaseConnection, getTestDatasourceConnection, init, isApplicationHomeValid, isBootstrapped, isPropertyTrue, isSetupComplete, publishConfiguration, removeProperty, save, setBuildNumber, setHibernateConfigurator, setOperation, setProperty, setSetupComplete
static final String JWT_PRIVATE_KEY
static final String JWT_PUBLIC_KEY
static final String JWT_KEY_LENGTH
static final String SYNCHRONY_SERVICE_AUTHTOKEN
@Deprecated String getConfluenceHome()
ApplicationProperties.getHomeDirectory()
(plugins) or confluenceHome Spring bean (core)@Deprecated String getApplicationHome()
ApplicationProperties.getHomeDirectory()
(plugins) or confluenceHome Spring bean (core)getApplicationHome
in interface com.atlassian.config.bootstrap.AtlassianBootstrapManager
@Deprecated File getSharedHome()
ApplicationProperties.getSharedHomeDirectory()
(plugins) or the sharedHome Spring bean (core)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.
@Deprecated File getLocalHome()
ApplicationProperties.getLocalHomeDirectory()
(plugins) or the localHome Spring bean (core)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.
@Deprecated void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
@Deprecated File getConfiguredLocalHome()
ApplicationProperties.getLocalHomeDirectory()
(plugins) or localHome Spring bean (core)
Only bootstrap code should need this method. Most code should use
getLocalHome()
instead.
@Deprecated String getConfiguredApplicationHome()
ApplicationProperties.getHomeDirectory()
(plugins) or confluenceHome Spring bean (core)getConfiguredApplicationHome
in interface com.atlassian.config.bootstrap.AtlassianBootstrapManager
@Deprecated String getWebAppContextPath()
ContextPathHolder.getContextPath()
@Deprecated void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
@Deprecated boolean isWebAppContextPathSet()
ContextPathHolder.getContextPath()
void checkConfigurationOnStartup() throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
void cleanupOnShutdown()
Optional<String> getDataSourceName()
String getHibernateDialect()
AvailableSettings.DIALECT
@Deprecated void bootstrapSharedConfiguration(SharedConfigurationMap sharedConfig) throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
@Deprecated String getFilePathProperty(String key)
ConfluenceDirectories
getFilePathProperty
in interface com.atlassian.config.bootstrap.AtlassianBootstrapManager
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences