com.caucho.sql.spy
Class SpyXAConnection
java.lang.Object
com.caucho.sql.spy.SpyPooledConnection
com.caucho.sql.spy.SpyXAConnection
- All Implemented Interfaces:
- javax.sql.PooledConnection, javax.sql.XAConnection
public class SpyXAConnection
- extends SpyPooledConnection
- implements javax.sql.XAConnection
Spying on a connection.
Field Summary |
protected static L10N |
L
|
protected static java.util.logging.Logger |
log
|
Constructor Summary |
SpyXAConnection(javax.sql.XAConnection conn,
java.lang.String id)
Creates a new SpyConnection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.sql.PooledConnection |
addConnectionEventListener, addStatementEventListener, close, getConnection, removeConnectionEventListener, removeStatementEventListener |
log
protected static final java.util.logging.Logger log
L
protected static final L10N L
SpyXAConnection
public SpyXAConnection(javax.sql.XAConnection conn,
java.lang.String id)
- Creates a new SpyConnection.
getXAResource
public XAResource getXAResource()
throws java.sql.SQLException
- Returns the XAResource.
- Specified by:
getXAResource
in interface javax.sql.XAConnection
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()
- Overrides:
toString
in class SpyPooledConnection