public interface MockXAConnection extends XAConnection
| Modifier and Type | Interface and Description |
|---|---|
static class |
MockXAConnection.Empty |
| Modifier and Type | Method and Description |
|---|---|
default void |
addConnectionEventListener(ConnectionEventListener listener) |
default void |
addStatementEventListener(StatementEventListener listener) |
default void |
close() |
default Connection |
getConnection() |
default XAResource |
getXAResource() |
default void |
removeConnectionEventListener(ConnectionEventListener listener) |
default void |
removeStatementEventListener(StatementEventListener listener) |
default XAResource getXAResource() throws SQLException
getXAResource in interface XAConnectionSQLExceptiondefault Connection getConnection() throws SQLException
getConnection in interface PooledConnectionSQLExceptiondefault void close()
throws SQLException
close in interface PooledConnectionSQLExceptiondefault void addConnectionEventListener(ConnectionEventListener listener)
addConnectionEventListener in interface PooledConnectiondefault void removeConnectionEventListener(ConnectionEventListener listener)
removeConnectionEventListener in interface PooledConnectiondefault void addStatementEventListener(StatementEventListener listener)
addStatementEventListener in interface PooledConnectiondefault void removeStatementEventListener(StatementEventListener listener)
removeStatementEventListener in interface PooledConnectionCopyright © 2019 JBoss by Red Hat. All rights reserved.