public interface DatabaseConfigurationListener
Modifier and Type | Method and Description |
---|---|
void |
handleJNDIDataSource(String hibernateDialect)
Handles the Hibernate dialect selected when configuring a JNDI database connection.
|
void |
updateApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfiguration)
Handles database configuration stored in
ApplicationConfiguration , should be called after the configuration
is loaded, but before it's used by the application. |
void |
updateDatabaseDetails(com.atlassian.config.db.DatabaseDetails databaseDetails)
Handles database configuration stored in
DatabaseDetails , passed after completing database setup. |
boolean |
willOverrideDatabaseDetails() |
void updateApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfiguration)
ApplicationConfiguration
, should be called after the configuration
is loaded, but before it's used by the application.applicationConfiguration
- the freshly loaded application configurationvoid updateDatabaseDetails(com.atlassian.config.db.DatabaseDetails databaseDetails)
DatabaseDetails
, passed after completing database setup.databaseDetails
- the details used to complete database setupvoid handleJNDIDataSource(String hibernateDialect)
hibernateDialect
- the Hibernate dialectboolean willOverrideDatabaseDetails()
DatabaseDetails
.Copyright © 2021 Atlassian. All rights reserved.