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
ConstructorsConstructorDescriptionDelegatingBootstrapConfigurer(BootstrapManager bootstrapManager, com.atlassian.config.internal.ApplicationConfig applicationConfig) -
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()booleanbooleanvoidvoidsave()voidsetBuildNumber(String buildNumber) voidsetConfluenceHome(String confluenceHome) voidsetProperty(String key, Object value) voidsetSetupComplete(boolean complete) voidsetWebAppContextPath(String webAppContextPath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.impl.setup.BootstrapConfigurer
isWebAppContextPathSet
-
Constructor Details
-
DelegatingBootstrapConfigurer
public DelegatingBootstrapConfigurer(BootstrapManager bootstrapManager, com.atlassian.config.internal.ApplicationConfig applicationConfig)
-
-
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
- Specified by:
setWebAppContextPathin 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
-