|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.database.connection.Transaction
org.glite.security.voms.database.connection.ClientTransaction
Database connection wrapper for connections that have an associated a remote client that needs to be logged. The connection will have a DBAdmin instance bound to it that you can get with the getClient() method.
Field Summary |
Fields inherited from class org.glite.security.voms.database.connection.Transaction |
conn |
Constructor Summary | |
protected |
ClientTransaction(java.sql.Connection conn)
Protected constructor. |
Method Summary | |
DBAdmin |
getClient()
Return the DBAdmin instance corresponding to the client of this connection. |
protected DBCA |
getClientCA()
Return the client's CA. |
protected java.lang.String |
getClientDN()
Return the client's DN. |
long |
getClientId()
Return the id of the DBAdmin instance corresponding to the client of this connection. |
protected void |
setClient(DBAdmin client)
Set the client to the given admin. |
Methods inherited from class org.glite.security.voms.database.connection.Transaction |
getConnection, getStatement, getStatementCount, isReadOnly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ClientTransaction(java.sql.Connection conn) throws VOMSException
Method Detail |
protected final java.lang.String getClientDN()
protected final DBCA getClientCA()
public final DBAdmin getClient()
protected final void setClient(DBAdmin client) throws GeneralDatabaseException
GeneralDatabaseException
public final long getClientId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |