public class SpyXAConnection extends SpyPooledConnection implements javax.sql.XAConnection
Modifier and Type | Field and Description |
---|---|
protected static L10N |
L |
protected static java.util.logging.Logger |
log |
_id
Constructor and Description |
---|
SpyXAConnection(javax.sql.XAConnection conn,
java.lang.String id)
Creates a new SpyConnection.
|
Modifier and Type | Method and Description |
---|---|
XAResource |
getXAResource()
Returns the XAResource.
|
java.lang.String |
toString() |
addConnectionEventListener, addStatementEventListener, close, getConnection, log, removeConnectionEventListener, removeStatementEventListener, start
protected static final java.util.logging.Logger log
protected static final L10N L
public SpyXAConnection(javax.sql.XAConnection conn, java.lang.String id)
public XAResource getXAResource() throws java.sql.SQLException
getXAResource
in interface javax.sql.XAConnection
java.sql.SQLException
public java.lang.String toString()
toString
in class SpyPooledConnection