|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--anvil.database.PooledConnection
|
+--anvil.database.jdbc.JDBCConnection
Concrete class wrapping java.sql.Connection objects.
| Field Summary |
| Fields inherited from class anvil.database.PooledConnection |
closedAt, connection, createdAt, myPool, name, releasedAt, reserved, reservedAt, timeout |
| Constructor Summary | |
JDBCConnection(ConnectionPool myPool,
java.lang.String name,
java.sql.Connection connection)
Creates the connection. |
|
| Method Summary | |
protected void |
closeConnection()
|
protected boolean |
isConnectionClosed()
|
| Methods inherited from class anvil.database.PooledConnection |
equals, getClosingTime, getConnection, getCreationTime, getName, getPool, getReleaseTime, getReserveTime, hasTimedOut, isAlive, isReserved, release, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JDBCConnection(ConnectionPool myPool,
java.lang.String name,
java.sql.Connection connection)
myPool - Connection poolname - Name of connectionconnection - java.sql.Connection| Method Detail |
protected boolean isConnectionClosed()
throws java.lang.Exception
isConnectionClosed in class PooledConnectionjava.lang.Exception
protected void closeConnection()
throws java.lang.Exception
closeConnection in class PooledConnectionjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||