Class ClosedXAConnection
java.lang.Object
io.agroal.pool.wrapper.closed.ClosedXAConnection
- All Implemented Interfaces:
PooledConnection, XAConnection
Sentinel implementation of
XAConnection that throws SQLException on all operations.- Author:
- George Gastaldi
-
Field Details
-
INSTANCE
-
-
Method Details
-
close
public void close()- Specified by:
closein interfacePooledConnection
-
getConnection
- Specified by:
getConnectionin interfacePooledConnection- Throws:
SQLException
-
getXAResource
- Specified by:
getXAResourcein interfaceXAConnection- Throws:
SQLException
-
addConnectionEventListener
- Specified by:
addConnectionEventListenerin interfacePooledConnection
-
removeConnectionEventListener
- Specified by:
removeConnectionEventListenerin interfacePooledConnection
-
addStatementEventListener
- Specified by:
addStatementEventListenerin interfacePooledConnection
-
removeStatementEventListener
- Specified by:
removeStatementEventListenerin interfacePooledConnection
-
toString
-