public final class SimonXAConnection extends SimonPooledConnection implements XAConnection
XAConnection, needed for
Simon XADataSource implementation.
All method invokes its real implementation.
See the package description for more
information.| Constructor and Description |
|---|
SimonXAConnection(XAConnection connection,
String prefix)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStatementEventListener(StatementEventListener listener) |
XAResource |
getXAResource() |
void |
removeStatementEventListener(StatementEventListener listener) |
addConnectionEventListener, close, getConnection, removeConnectionEventListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConnectionEventListener, close, getConnection, removeConnectionEventListenerpublic SimonXAConnection(XAConnection connection, String prefix)
connection - real xa connectionprefix - Simon prefixpublic XAResource getXAResource() throws SQLException
getXAResource in interface XAConnectionSQLExceptionpublic void addStatementEventListener(StatementEventListener listener)
addStatementEventListener in interface PooledConnectionaddStatementEventListener in class SimonPooledConnectionpublic void removeStatementEventListener(StatementEventListener listener)
removeStatementEventListener in interface PooledConnectionremoveStatementEventListener in class SimonPooledConnectionCopyright © 2019. All rights reserved.