Package com.atlassian.crowd.config
Class OracleConnectionDecorator
java.lang.Object
com.atlassian.crowd.config.AbstractDatabaseConnectionDecorator
com.atlassian.crowd.config.OracleConnectionDecorator
- All Implemented Interfaces:
DatabaseConnectionDecorator
-
Constructor Summary
ConstructorDescriptionOracleConnectionDecorator
(DefaultDatabaseConnectionParameters databaseConnectionParameters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
decorateConnectionProperties
(com.atlassian.config.ApplicationConfiguration applicationConfig) It updates the application config, by decorating the connection url or hibernate connection properties whichever supported by underlying implementationdecorateConnectionURL
(String connectionURL) This method decorates the given connection URL with the parameters supplied byAbstractDatabaseConnectionDecorator.getConnectionParameters()
, to note it will not override the parameters already present in the connection urlMethods inherited from class com.atlassian.crowd.config.AbstractDatabaseConnectionDecorator
getConnectionParameters, prepareMessageWithParams
-
Constructor Details
-
OracleConnectionDecorator
-
-
Method Details
-
decorateConnectionProperties
public void decorateConnectionProperties(com.atlassian.config.ApplicationConfiguration applicationConfig) Description copied from class:AbstractDatabaseConnectionDecorator
It updates the application config, by decorating the connection url or hibernate connection properties whichever supported by underlying implementation- Specified by:
decorateConnectionProperties
in interfaceDatabaseConnectionDecorator
- Overrides:
decorateConnectionProperties
in classAbstractDatabaseConnectionDecorator
-
decorateConnectionURL
Description copied from class:AbstractDatabaseConnectionDecorator
This method decorates the given connection URL with the parameters supplied byAbstractDatabaseConnectionDecorator.getConnectionParameters()
, to note it will not override the parameters already present in the connection url- Specified by:
decorateConnectionURL
in interfaceDatabaseConnectionDecorator
- Overrides:
decorateConnectionURL
in classAbstractDatabaseConnectionDecorator
- Returns:
- the decorated connection URL
-