org.firebirdsql.jca
Class AbstractXAConnection

java.lang.Object
  extended by org.firebirdsql.jca.AbstractXAConnection
All Implemented Interfaces:
javax.sql.PooledConnection, javax.sql.XAConnection
Direct Known Subclasses:
FBXAConnection

Deprecated.

public abstract class AbstractXAConnection
extends java.lang.Object
implements javax.sql.XAConnection

Simple non-pooled XAConnection implementation.

Author:
Ludovic Orban

Constructor Summary
protected AbstractXAConnection(AbstractConnection connection)
          Deprecated.  
 
Method Summary
 void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
          Deprecated.  
 void close()
          Deprecated.  
 java.sql.Connection getConnection()
          Deprecated.  
 javax.transaction.xa.XAResource getXAResource()
          Deprecated.  
 void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.PooledConnection
addStatementEventListener, removeStatementEventListener
 

Constructor Detail

AbstractXAConnection

protected AbstractXAConnection(AbstractConnection connection)
Deprecated. 
Method Detail

getXAResource

public javax.transaction.xa.XAResource getXAResource()
                                              throws java.sql.SQLException
Deprecated. 
Specified by:
getXAResource in interface javax.sql.XAConnection
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Deprecated. 
Specified by:
close in interface javax.sql.PooledConnection
Throws:
java.sql.SQLException

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Deprecated. 
Specified by:
getConnection in interface javax.sql.PooledConnection
Throws:
java.sql.SQLException

addConnectionEventListener

public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
Deprecated. 
Specified by:
addConnectionEventListener in interface javax.sql.PooledConnection

removeConnectionEventListener

public void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)
Deprecated. 
Specified by:
removeConnectionEventListener in interface javax.sql.PooledConnection


Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.