Package io.agroal.test
Interface MockXAConnection
- All Superinterfaces:
PooledConnection,XAConnection
- All Known Implementing Classes:
MockXAConnection.Empty
- Author:
- Luis Barreiro
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault voiddefault voidclose()default Connectiondefault XAResourcedefault voiddefault void
-
Method Details
-
getXAResource
- Specified by:
getXAResourcein interfaceXAConnection- Throws:
SQLException
-
getConnection
- Specified by:
getConnectionin interfacePooledConnection- Throws:
SQLException
-
close
- Specified by:
closein interfacePooledConnection- Throws:
SQLException
-
addConnectionEventListener
- Specified by:
addConnectionEventListenerin interfacePooledConnection
-
removeConnectionEventListener
- Specified by:
removeConnectionEventListenerin interfacePooledConnection
-
addStatementEventListener
- Specified by:
addStatementEventListenerin interfacePooledConnection
-
removeStatementEventListener
- Specified by:
removeStatementEventListenerin interfacePooledConnection
-