oracle.jdbc.xa.client
Class OracleXAHeteroCloseCallback
oracle.jdbc.xa.client.OracleXAHeteroCloseCallback
- public class OracleXAHeteroCloseCallback
This class implements the OracleCloseCallback interface that is defined in oracle.jdbc.driver. It is used to close a physical connection to an RM instance, and unregister this RM instance from C-XA's current thread of control. An instance of this class should be registered with an OracleXAConnection/OraclePooledConnection, using the registerCloseCallback() method in the OraclePooledConnection class to function, like: ((OracleXAConnection) xaconn).registerCloseCallback( new OracleXAHeteroCloseCallback(), new SomeUserObject());
Field Summary |
static boolean |
DEBUG
|
DEBUG
public static final boolean DEBUG
OracleXAHeteroCloseCallback
public OracleXAHeteroCloseCallback()
beforeClose
public void beforeClose(OracleConnection conn,
java.lang.Object obj)
afterClose
public void afterClose(java.lang.Object privData)