|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--anvil.database.PooledConnection
|
+--anvil.database.jndi.JNDIConnection
Concrete class wrapping javax.naming.Context objects.
| Field Summary |
| Fields inherited from class anvil.database.PooledConnection |
closedAt, connection, createdAt, myPool, name, releasedAt, reserved, reservedAt, timeout |
| Constructor Summary | |
JNDIConnection(ConnectionPool myPool,
java.lang.String name,
javax.naming.Context context)
Creates the context. |
|
| 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 JNDIConnection(ConnectionPool myPool,
java.lang.String name,
javax.naming.Context context)
myPool - Connection poolname - Name of connectioncontext - javax.naming.Context| 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 | |||||||||