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 SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface com.atlassian.confluence.setup.ConfluenceBootstrapConstantsATLASSIAN_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 SummaryModifier 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 referenceApplicationProperties#getLocalHomeDirectory()Deprecated.since 7.14 Use(plugins) or the sharedHome Spring bean (core)invalid referenceApplicationProperties#getSharedHomeDirectory()Deprecated.since 7.14 Useinvalid referenceContextPathHolder#getContextPath()booleanDeprecated.since 7.14 Useinvalid referenceContextPathHolder#getContextPath()Methods inherited from interface com.atlassian.config.bootstrap.AtlassianBootstrapManagerbootstrapDatabase, 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- 
getConfluenceHomeDeprecated.since 5.5. Use(plugins) or confluenceHome Spring bean (core)invalid referenceApplicationProperties#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
 
- 
getApplicationHomeDeprecated.since 7.14. Use(plugins) or confluenceHome Spring bean (core)invalid referenceApplicationProperties#getHomeDirectory()- Specified by:
- getApplicationHomein interface- com.atlassian.config.bootstrap.AtlassianBootstrapManager
 
- 
getLocalHomeDeprecated.since 7.14 Use(plugins) or the localHome Spring bean (core)invalid referenceApplicationProperties#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
 
- 
getConfiguredLocalHomeDeprecated.since 7.14. Use(plugins) or localHome Spring bean (core)invalid referenceApplicationProperties#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
 
- 
getConfiguredApplicationHomeDeprecated.since 7.14. Use(plugins) or confluenceHome Spring bean (core)invalid referenceApplicationProperties#getHomeDirectory()- Specified by:
- getConfiguredApplicationHomein interface- com.atlassian.config.bootstrap.AtlassianBootstrapManager
 
- 
getWebAppContextPathDeprecated.since 7.14 Useinvalid referenceContextPathHolder#getContextPath()
- 
isWebAppContextPathSetDeprecated.since 7.14 Useinvalid referenceContextPathHolder#getContextPath()
- 
getDataSourceNameReturns the name of the JNDI-based DataSource, if any.- Returns:
- empty if Confluence is using a direct JDBC connection
- Since:
- 6.7.0
 
- 
getHibernateDialectString getHibernateDialect()Returns the SQL dialect being used by Hibernate.- Returns:
- see above
- Since:
- 6.7.0
- See Also:
 
- 
getFilePathPropertyDeprecated.since 7.14 UseConfluenceDirectories- Specified by:
- getFilePathPropertyin interface- com.atlassian.config.bootstrap.AtlassianBootstrapManager
 
 
-