Skip navigation links
oracle.idm.connection.sql
Class SqlConnectionManager
java.lang.Object
oracle.idm.connection.ConnectionManager
oracle.idm.connection.sql.SqlConnectionManager
- All Implemented Interfaces:
- java.lang.Comparable, ConnectionDelegate, XmlPrintable
-
public class SqlConnectionManager
- extends ConnectionManager
This class implements the SQL connection manager.
When modifying SQL connection manager properties directly, synchronize with the connection pool in order to avoid undesirable side effects, as follows:
synchronized (pool) { manager.setValidating(false); }
Method Summary |
java.util.Map |
cloneParameters(java.util.Map parameters)
This method colones parameters to be internalized by the connection. |
java.lang.String |
getType()
Getter for the type of this connection delegate. |
Connection |
openConnection(java.util.Map parameters)
This method opens a connection. |
Methods inherited from class oracle.idm.connection.ConnectionManager |
canCaptureConnection, canCloseConnection, canInvalidateConnection, canMatchConnection, canOpenConnection, canOperateConnection, canProxyConnection, canReleaseConnection, canRemoveConnection, canReturnConnection, canValidateConnection, captureConnection, checkConnection, checkParameters, checkProxying, checkValidating, closeConnection, compareTo, getConnectionOperationCountInfo, getConnectionOperationFailSafe, getGross, getLimit, getLoad, getLogger, getPriority, getWeight, hasReachedLimit, invalidateConnection, isAlteredConnection, isForeignConnection, isMatchingConnection, isMatchingParameters, isMatchingType, isProxying, isStackTracing, isValidating, matchConnection, openConnection, proxyConnection, releaseConnection, removeConnection, resetLimit, resetPriority, resetProxying, resetStackTracing, resetValidating, resetWeight, returnConnection, setLimit, setPriority, setProxying, setStackTracing, setValidating, setWeight, validateConnection, xprint, xprintBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlConnectionManager
public SqlConnectionManager()
- Constructor for the SQL connection manager.
getType
public java.lang.String getType()
- Description copied from interface:
ConnectionDelegate
- Getter for the type of this connection delegate.
A connection delegate type must match the type of the connection it manages.
-
- Returns:
- string representing the type
openConnection
public Connection openConnection(java.util.Map parameters)
throws ConnectionException
- Description copied from interface:
ConnectionDelegate
- This method opens a connection.
-
- Returns:
- connection that has been opened
- Throws:
ConnectionException
cloneParameters
public java.util.Map cloneParameters(java.util.Map parameters)
- This method colones parameters to be internalized by the connection.
This version will hide the Connection.Parameter.CREDENTIALS value.
-
- Returns:
- cloned parameter map
Skip navigation links