Class DelegatingBootstrapConfigurer
java.lang.Object
com.atlassian.confluence.impl.setup.DelegatingBootstrapConfigurer
- All Implemented Interfaces:
BootstrapConfigurer
An implementation of
BootstrapConfigurer that delegates to a BootstrapManager.- Since:
- 7.14
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded) voidbootstrapDatasource(String datasourceName, String hibernateDialect) voidvoidcom.atlassian.config.setup.SetupPersistergetTestDatasourceConnection(String datasourceName) voidinit()booleanbooleanbooleanvoidvoidsave()voidsetBuildNumber(String buildNumber) voidsetConfluenceHome(String confluenceHome) voidsetProperty(String key, Object value) voidsetSetupComplete(boolean complete) voidsetWebAppContextPath(String webAppContextPath)
-
Constructor Details
-
DelegatingBootstrapConfigurer
-
-
Method Details
-
setConfluenceHome
public void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException - Specified by:
setConfluenceHomein interfaceBootstrapConfigurer- Throws:
com.atlassian.config.ConfigurationException
-
getWebAppContextPath
- Specified by:
getWebAppContextPathin interfaceBootstrapConfigurer
-
setWebAppContextPath
public void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException - Specified by:
setWebAppContextPathin interfaceBootstrapConfigurer- Throws:
com.atlassian.config.ConfigurationException
-
isWebAppContextPathSet
public boolean isWebAppContextPathSet()- Specified by:
isWebAppContextPathSetin interfaceBootstrapConfigurer
-
checkConfigurationOnStartup
public void checkConfigurationOnStartup() throws com.atlassian.config.bootstrap.BootstrapException- Specified by:
checkConfigurationOnStartupin interfaceBootstrapConfigurer- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
cleanupOnShutdown
public void cleanupOnShutdown()- Specified by:
cleanupOnShutdownin interfaceBootstrapConfigurer
-
init
public void init() throws com.atlassian.config.bootstrap.BootstrapException- Specified by:
initin interfaceBootstrapConfigurer- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
publishConfiguration
public void publishConfiguration()- Specified by:
publishConfigurationin interfaceBootstrapConfigurer
-
setProperty
- Specified by:
setPropertyin interfaceBootstrapConfigurer
-
setSetupComplete
public void setSetupComplete(boolean complete) - Specified by:
setSetupCompletein interfaceBootstrapConfigurer
-
setBuildNumber
- Specified by:
setBuildNumberin interfaceBootstrapConfigurer
-
bootstrapDatasource
public void bootstrapDatasource(String datasourceName, String hibernateDialect) throws com.atlassian.config.bootstrap.BootstrapException - Specified by:
bootstrapDatasourcein interfaceBootstrapConfigurer- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
bootstrapDatabase
public void bootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded) throws com.atlassian.config.bootstrap.BootstrapException - Specified by:
bootstrapDatabasein interfaceBootstrapConfigurer- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
getSetupPersister
public com.atlassian.config.setup.SetupPersister getSetupPersister()- Specified by:
getSetupPersisterin interfaceBootstrapConfigurer
-
isBootstrapped
public boolean isBootstrapped()- Specified by:
isBootstrappedin interfaceBootstrapConfigurer
-
save
public void save() throws com.atlassian.config.ConfigurationException- Specified by:
savein interfaceBootstrapConfigurer- Throws:
com.atlassian.config.ConfigurationException
-
getTestDatasourceConnection
public Connection getTestDatasourceConnection(String datasourceName) throws com.atlassian.config.bootstrap.BootstrapException - Specified by:
getTestDatasourceConnectionin interfaceBootstrapConfigurer- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
isApplicationHomeValid
public boolean isApplicationHomeValid()- Specified by:
isApplicationHomeValidin interfaceBootstrapConfigurer
-