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 Type
    Method
    Description
    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
    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

      String decorateConnectionURL(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
      Returns:
      the decorated connection URL