|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.services.jdbc.SharedConnection
public class SharedConnection
The SharedConnection class keeps information about a database connection being shared by different JDBC services instances.
Constructor Summary | |
---|---|
SharedConnection()
This constructor creates a SharedConnection object. |
|
SharedConnection(java.sql.Connection aDatabaseConnection)
This constructor creates a SharedConnection object and sets its databaseConnection attribute to aDatabaseConnection and its counter attribute to 1. |
Method Summary | |
---|---|
protected int |
getCounter()
Returns the counter attribute value. |
protected java.sql.Connection |
getDatabaseConnection()
Returns the databaseConnection attribute value. |
protected void |
setCounter(int newCounter)
Sets the counter attribute value to newCounter. |
protected void |
setDatabaseConnection(java.sql.Connection newDatabaseConnection)
Sets the databaseConnection attribute value to newDatabaseConnection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharedConnection()
public SharedConnection(java.sql.Connection aDatabaseConnection)
aDatabaseConnection
- java.sql.ConnectionMethod Detail |
---|
protected int getCounter()
protected java.sql.Connection getDatabaseConnection()
protected void setCounter(int newCounter)
newCounter
- intprotected void setDatabaseConnection(java.sql.Connection newDatabaseConnection)
newDatabaseConnection
- java.sql.Connection
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |