Skip navigation links

Oracle® Database JDBC Java API Reference
11g Release 2

E13995-02


oracle.jdbc.xa.client
Class OracleXAHeteroCloseCallback

java.lang.Object
  extended by oracle.jdbc.xa.client.OracleXAHeteroCloseCallback


public class OracleXAHeteroCloseCallback
extends java.lang.Object

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 java.lang.String BUILD_DATE
           
static boolean PRIVATE_TRACE
           
static boolean TRACE
           

 

Constructor Summary
OracleXAHeteroCloseCallback()
           

 

Method Summary
 void afterClose(java.lang.Object privData)
           
 void beforeClose(OracleConnection conn, java.lang.Object obj)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

BUILD_DATE

public static final java.lang.String BUILD_DATE
See Also:
Constant Field Values

TRACE

public static final boolean TRACE
See Also:
Constant Field Values

PRIVATE_TRACE

public static final boolean PRIVATE_TRACE
See Also:
Constant Field Values

Constructor Detail

OracleXAHeteroCloseCallback

public OracleXAHeteroCloseCallback()

Method Detail

beforeClose

public void beforeClose(OracleConnection conn,
                        java.lang.Object obj)

afterClose

public void afterClose(java.lang.Object privData)

Skip navigation links

Oracle® Database JDBC Java API Reference
11g Release 2

E13995-02


Copyright © 2009, Oracle and/or its affiliates. All rights reserved.