org.edg.security.voms.database.connection
Class ClientConnection
java.lang.Object
|
+--org.edg.security.voms.database.connection.ConnectionWrapper
|
+--org.edg.security.voms.database.connection.ClientConnection
- Direct Known Subclasses:
- Query, Update
- public abstract class ClientConnection
- extends ConnectionWrapper
Database connection wrapper for connections with a remote client.
- Version:
- $Name: v0_7_0 $
- Author:
- Karoly Lorentey
Field Summary |
private DBAdmin |
client
Current client, if available. |
private static org.apache.log4j.Logger |
log
Logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
client
private DBAdmin client
- Current client, if available.
log
private static org.apache.log4j.Logger log
- Logger.
ClientConnection
public ClientConnection(java.sql.Connection c,
ConnectionPool pool,
int id)
getClient
public final DBAdmin getClient()
getClientId
public final long getClientId()
beginTransaction
void beginTransaction()
throws VOMSException
- Overrides:
beginTransaction
in class ConnectionWrapper
VOMSException
endTransaction
protected final void endTransaction()
isReadonly
public abstract boolean isReadonly()
- Specified by:
isReadonly
in class ConnectionWrapper