IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.services.jdbc
Interface JDBCServicesConnectionManagementInterface

All Known Implementing Classes:
JDBCServicesConnMgrWS40, JDBCServicesConnMgrWS40z, JDBCServicesConnMgrWS50

public interface JDBCServicesConnectionManagementInterface

The JDBCServicesConnectionManagementInterface interface provides the public abstract methods that must implement those classes that can be used as database connection providers.


Method Summary
 void disconnect(Hashtable connProperties, java.sql.Connection connection)
          Closes the database connection or releases it to be used by other application.
 java.sql.Connection requestConnection(Hashtable connProperties)
          Returns a database connection, a java.sql.Connection instance, if there is one of them available in the pool of connections.
 boolean verifyConnection(java.sql.Connection aConnection)
          Returns true if the database connection is ready to be used and false if the database connection has been closed or it has been considered as an orphan connection by the connection pooling implementation.
 

Method Detail

disconnect

void disconnect(Hashtable connProperties,
                java.sql.Connection connection)
                throws DSESQLException,
                       DSEException
Closes the database connection or releases it to be used by other application.

Parameters:
connProperties - com.ibm.btt.base.Hashtable
connection - java.sql.Connection
Throws:
DSESQLException
DSEException

requestConnection

java.sql.Connection requestConnection(Hashtable connProperties)
                                      throws DSESQLException,
                                             DSEException
Returns a database connection, a java.sql.Connection instance, if there is one of them available in the pool of connections.

Parameters:
connProperties - com.ibm.btt.base.Hashtable
Returns:
java.sql.Connection
Throws:
DSESQLException
DSEException

verifyConnection

boolean verifyConnection(java.sql.Connection aConnection)
                         throws DSESQLException,
                                DSEException
Returns true if the database connection is ready to be used and false if the database connection has been closed or it has been considered as an orphan connection by the connection pooling implementation.

Parameters:
aConnection - java.sql.Connection
Throws:
DSESQLException
DSEException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009