net.sf.infrared.bootstrap.jdbc.oracle
Class InfraREDOracleXAConnection

java.lang.Object
  extended bynet.sf.infrared.bootstrap.jdbc.oracle.InfraREDOracleXAConnection
All Implemented Interfaces:
PooledConnection, XAConnection

public class InfraREDOracleXAConnection
extends Object
implements XAConnection

Wrapper over XAConnection. Intercepts javax.sql.XAConnection methods for monitoring.


Constructor Summary
InfraREDOracleXAConnection(XAConnection delegate)
           
 
Method Summary
 void addConnectionEventListener(ConnectionEventListener listener)
           
 void close()
           
 Connection getConnection()
           
 XAResource getXAResource()
           
 void removeConnectionEventListener(ConnectionEventListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfraREDOracleXAConnection

public InfraREDOracleXAConnection(XAConnection delegate)
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in interface PooledConnection
Throws:
SQLException

close

public void close()
           throws SQLException
Specified by:
close in interface PooledConnection
Throws:
SQLException

addConnectionEventListener

public void addConnectionEventListener(ConnectionEventListener listener)
Specified by:
addConnectionEventListener in interface PooledConnection

removeConnectionEventListener

public void removeConnectionEventListener(ConnectionEventListener listener)
Specified by:
removeConnectionEventListener in interface PooledConnection

getXAResource

public XAResource getXAResource()
                         throws SQLException
Specified by:
getXAResource in interface XAConnection
Throws:
SQLException