Class DelegatingBootstrapConfigurer
- java.lang.Object
-
- com.atlassian.confluence.impl.setup.DelegatingBootstrapConfigurer
-
- All Implemented Interfaces:
BootstrapConfigurer
public final class DelegatingBootstrapConfigurer extends Object implements BootstrapConfigurer
An implementation ofBootstrapConfigurerthat delegates to aBootstrapManager.- Since:
- 7.14
-
-
Constructor Summary
Constructors Constructor Description DelegatingBootstrapConfigurer(BootstrapManager bootstrapManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded)voidbootstrapDatasource(String datasourceName, String hibernateDialect)voidcheckConfigurationOnStartup()voidcleanupOnShutdown()com.atlassian.config.setup.SetupPersistergetSetupPersister()ConnectiongetTestDatasourceConnection(String datasourceName)StringgetWebAppContextPath()voidinit()booleanisApplicationHomeValid()booleanisBootstrapped()booleanisWebAppContextPathSet()voidpublishConfiguration()voidsave()voidsetBuildNumber(String buildNumber)voidsetConfluenceHome(String confluenceHome)voidsetProperty(String key, Object value)voidsetSetupComplete(boolean complete)voidsetWebAppContextPath(String webAppContextPath)
-
-
-
Constructor Detail
-
DelegatingBootstrapConfigurer
public DelegatingBootstrapConfigurer(BootstrapManager bootstrapManager)
-
-
Method Detail
-
setConfluenceHome
public void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException
- Specified by:
setConfluenceHomein interfaceBootstrapConfigurer- Throws:
com.atlassian.config.ConfigurationException
-
getWebAppContextPath
public String 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
public void setProperty(String key, Object value)
- Specified by:
setPropertyin interfaceBootstrapConfigurer
-
setSetupComplete
public void setSetupComplete(boolean complete)
- Specified by:
setSetupCompletein interfaceBootstrapConfigurer
-
setBuildNumber
public void setBuildNumber(String buildNumber)
- 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
-
-