Package com.atlassian.confluence.setup
Interface BootstrapManager
- All Superinterfaces:
com.atlassian.config.bootstrap.AtlassianBootstrapManager,ConfluenceBootstrapConstants
- All Known Subinterfaces:
BootstrapManagerInternal
- 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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface com.atlassian.confluence.setup.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 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 7.14.Deprecated.since 7.14.Deprecated.since 7.14.Deprecated.since 5.5.Returns the name of the JNDI-based DataSource, if any.Deprecated.since 7.14 UseConfluenceDirectoriesReturns the SQL dialect being used by Hibernate.Deprecated.since 7.14 Use(plugins) or the localHome Spring bean (core)invalid reference
ApplicationProperties#getLocalHomeDirectory()Deprecated.since 7.14 Use(plugins) or the sharedHome Spring bean (core)invalid reference
ApplicationProperties#getSharedHomeDirectory()Deprecated.since 7.14 Useinvalid reference
ContextPathHolder#getContextPath()booleanDeprecated.since 7.14 Useinvalid reference
ContextPathHolder#getContextPath()Methods inherited from interface com.atlassian.config.bootstrap.AtlassianBootstrapManager
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
-
Field Details
-
JWT_PRIVATE_KEY
- Since:
- 6.0
- See Also:
-
JWT_PUBLIC_KEY
- See Also:
-
JWT_KEY_LENGTH
- See Also:
-
SYNCHRONY_SERVICE_AUTHTOKEN
- Since:
- 8.1
- See Also:
-
-
Method Details
-
getConfluenceHome
Deprecated.since 5.5. Use(plugins) or confluenceHome Spring bean (core)invalid reference
ApplicationProperties#getHomeDirectory()Returns local home in standalone installation and shared home in clustered installation.- Returns:
- local home in standalone installation and shared home in clustered installation
-
getApplicationHome
Deprecated.since 7.14. Use(plugins) or confluenceHome Spring bean (core)invalid reference
ApplicationProperties#getHomeDirectory()- Specified by:
getApplicationHomein interfacecom.atlassian.config.bootstrap.AtlassianBootstrapManager
-
getLocalHome
Deprecated.since 7.14 Use(plugins) or the localHome Spring bean (core)invalid reference
ApplicationProperties#getLocalHomeDirectory()Confluence local home directory.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.
- Returns:
- local home directory
- Since:
- 5.5
-
getConfiguredLocalHome
Deprecated.since 7.14. Use(plugins) or localHome Spring bean (core)invalid reference
ApplicationProperties#getLocalHomeDirectory()Returns the configured local home or null if not configured.Only bootstrap code should need this method. Most code should use
getLocalHome()instead.- Returns:
- configured local home
- Since:
- 5.5
-
getConfiguredApplicationHome
Deprecated.since 7.14. Use(plugins) or confluenceHome Spring bean (core)invalid reference
ApplicationProperties#getHomeDirectory()- Specified by:
getConfiguredApplicationHomein interfacecom.atlassian.config.bootstrap.AtlassianBootstrapManager
-
getWebAppContextPath
Deprecated.since 7.14 Useinvalid reference
ContextPathHolder#getContextPath() -
isWebAppContextPathSet
Deprecated.since 7.14 Useinvalid reference
ContextPathHolder#getContextPath() -
getDataSourceName
Returns the name of the JNDI-based DataSource, if any.- Returns:
- empty if Confluence is using a direct JDBC connection
- Since:
- 6.7.0
-
getHibernateDialect
String getHibernateDialect()Returns the SQL dialect being used by Hibernate.- Returns:
- see above
- Since:
- 6.7.0
- See Also:
-
getFilePathProperty
Deprecated.since 7.14 UseConfluenceDirectories- Specified by:
getFilePathPropertyin interfacecom.atlassian.config.bootstrap.AtlassianBootstrapManager
-