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, removeConnectionEventListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addConnectionEventListener, close, getConnection, removeConnectionEventListener
public SimonXAConnection(XAConnection connection, String prefix)
connection
- real xa connectionprefix
- Simon prefixpublic XAResource getXAResource() throws SQLException
getXAResource
in interface XAConnection
SQLException
public void addStatementEventListener(StatementEventListener listener)
addStatementEventListener
in interface PooledConnection
addStatementEventListener
in class SimonPooledConnection
public void removeStatementEventListener(StatementEventListener listener)
removeStatementEventListener
in interface PooledConnection
removeStatementEventListener
in class SimonPooledConnection
Copyright © 2019. All rights reserved.