Package org.firebirdsql.ds
Class FBXAConnection
java.lang.Object
org.firebirdsql.ds.FBPooledConnection
org.firebirdsql.ds.FBXAConnection
- All Implemented Interfaces:
PooledConnection,XAConnection
XAConnection implementation for
FBXADataSource- Since:
- 2.2
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.firebirdsql.ds.PooledConnectionHandlercreateConnectionHandler(Connection connection) Creates the PooledConnectionHandler for the connection.protected booleanprotected voidresetConnection(Connection connection) Methods inherited from class org.firebirdsql.ds.FBPooledConnection
addConnectionEventListener, addStatementEventListener, close, fireConnectionClosed, fireConnectionError, fireFatalConnectionError, getConnection, releaseConnectionHandler, removeConnectionEventListener, removeStatementEventListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.PooledConnection
addConnectionEventListener, addStatementEventListener, close, getConnection, removeConnectionEventListener, removeStatementEventListener
-
Constructor Details
-
FBXAConnection
-
-
Method Details
-
getXAResource
- Specified by:
getXAResourcein interfaceXAConnection- Throws:
SQLException
-
resetConnection
- Overrides:
resetConnectionin classFBPooledConnection- Throws:
SQLException
-
createConnectionHandler
Description copied from class:FBPooledConnectionCreates the PooledConnectionHandler for the connection.Subclasses may override this method to return their own subclass of PooledConnectionHandler.
- Overrides:
createConnectionHandlerin classFBPooledConnection- Parameters:
connection- Connection- Returns:
- PooledConnectionHandler
-
inDistributedTransaction
- Throws:
SQLException
-