Package com.atlassian.crowd.config
Interface DatabaseConnectionDecorator
- All Known Implementing Classes:
AbstractDatabaseConnectionDecorator
,MySQLConnectionDecorator
,NoOpConnectionDecorator
,OracleConnectionDecorator
,PostgreSQLConnectionDecorator
public interface DatabaseConnectionDecorator
Represents a database connection decorator component which decorates the application config, connection url according
to relevant parameters supplied by underlying implementations
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decorateConnectionProperties
(com.atlassian.config.ApplicationConfiguration applicationConfig) Updates the application config, by decorating the connection url or hibernate connection properties whichever supported by underlying implementationdecorateConnectionURL
(String connectionURL) Decorates the given connection URL with the parameters supplied by underlying implementation, to note it will not override the parameters already present in the connection url
-
Method Details
-
decorateConnectionProperties
void decorateConnectionProperties(com.atlassian.config.ApplicationConfiguration applicationConfig) Updates the application config, by decorating the connection url or hibernate connection properties whichever supported by underlying implementation -
decorateConnectionURL
Decorates the given connection URL with the parameters supplied by underlying implementation, to note it will not override the parameters already present in the connection url- Returns:
- the decorated connection URL
-