net.sf.infrared.bootstrap.jdbc.oracle
Class InfraREDOracleXAConnection
java.lang.Object
net.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfraREDOracleXAConnection
public InfraREDOracleXAConnection(XAConnection delegate)
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