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 TypeMethodDescriptionvoid
bootstrapDatabase
(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded) void
bootstrapDatasource
(String datasourceName, String hibernateDialect) com.atlassian.config.setup.SetupPersister
getTestDatasourceConnection
(String datasourceName) void
init()
boolean
boolean
void
void
save()
void
setBuildNumber
(String buildNumber) void
setConfluenceHome
(String confluenceHome) void
setProperty
(String key, Object value) void
setSetupComplete
(boolean complete) void
setWebAppContextPath
(String webAppContextPath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
setConfluenceHome
in interfaceBootstrapConfigurer
- Throws:
com.atlassian.config.ConfigurationException
-
getWebAppContextPath
- Specified by:
getWebAppContextPath
in interfaceBootstrapConfigurer
-
setWebAppContextPath
- Specified by:
setWebAppContextPath
in interfaceBootstrapConfigurer
-
init
public void init() throws com.atlassian.config.bootstrap.BootstrapException- Specified by:
init
in interfaceBootstrapConfigurer
- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
publishConfiguration
public void publishConfiguration()- Specified by:
publishConfiguration
in interfaceBootstrapConfigurer
-
setProperty
- Specified by:
setProperty
in interfaceBootstrapConfigurer
-
setSetupComplete
public void setSetupComplete(boolean complete) - Specified by:
setSetupComplete
in interfaceBootstrapConfigurer
-
setBuildNumber
- Specified by:
setBuildNumber
in interfaceBootstrapConfigurer
-
bootstrapDatasource
public void bootstrapDatasource(String datasourceName, String hibernateDialect) throws com.atlassian.config.bootstrap.BootstrapException - Specified by:
bootstrapDatasource
in 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:
bootstrapDatabase
in interfaceBootstrapConfigurer
- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
getSetupPersister
public com.atlassian.config.setup.SetupPersister getSetupPersister()- Specified by:
getSetupPersister
in interfaceBootstrapConfigurer
-
isBootstrapped
public boolean isBootstrapped()- Specified by:
isBootstrapped
in interfaceBootstrapConfigurer
-
save
public void save() throws com.atlassian.config.ConfigurationException- Specified by:
save
in interfaceBootstrapConfigurer
- Throws:
com.atlassian.config.ConfigurationException
-
getTestDatasourceConnection
public Connection getTestDatasourceConnection(String datasourceName) throws com.atlassian.config.bootstrap.BootstrapException - Specified by:
getTestDatasourceConnection
in interfaceBootstrapConfigurer
- Throws:
com.atlassian.config.bootstrap.BootstrapException
-
isApplicationHomeValid
public boolean isApplicationHomeValid()- Specified by:
isApplicationHomeValid
in interfaceBootstrapConfigurer
-