public abstract class AbstractDatabaseConnectionDecorator extends Object implements DatabaseConnectionDecorator
Constructor and Description |
---|
AbstractDatabaseConnectionDecorator(Map<String,String> decoratingParameters) |
Modifier and Type | Method and Description |
---|---|
void |
decorateConnectionProperties(com.atlassian.config.ApplicationConfiguration applicationConfig)
It updates the application config, by decorating the connection url or hibernate connection properties whichever
supported by underlying implementation
|
String |
decorateConnectionURL(String connectionURL)
This method decorates the given connection URL with the parameters supplied by
getConnectionParameters() , to note it will not override the parameters already present in the connection url |
Map<String,String> |
getConnectionParameters()
This method returns the parameters which are to be used for decorating the connection
|
protected String |
prepareMessageWithParams(Map<String,String> params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
logJNDIRecommendations
public Map<String,String> getConnectionParameters()
public void decorateConnectionProperties(com.atlassian.config.ApplicationConfiguration applicationConfig)
decorateConnectionProperties
in interface DatabaseConnectionDecorator
public String decorateConnectionURL(String connectionURL)
getConnectionParameters()
, to note it will not override the parameters already present in the connection urldecorateConnectionURL
in interface DatabaseConnectionDecorator
Copyright © 2020 Atlassian. All rights reserved.