jrunx.tyrex.tm.impl
Class OracleXAResourceHelper

java.lang.Object
  |
  +--jrunx.tyrex.tm.impl.XAResourceHelper
        |
        +--jrunx.tyrex.tm.impl.OracleXAResourceHelper

public final class OracleXAResourceHelper
extends XAResourceHelper

This class describes various methods to help the transaction manipulate XA resources from Oracle.


Constructor Summary
OracleXAResourceHelper()
          Default constructor
 
Method Summary
 void endSuspended(javax.transaction.xa.XAResource xaResource, javax.transaction.xa.Xid xid)
          End work performed by the specified xa resource that has previously been suspended.
 javax.transaction.xa.Xid getXid(javax.transaction.xa.Xid xid)
          Create the xid for use with the XA resource from the specified xid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleXAResourceHelper

public OracleXAResourceHelper()
Default constructor
Method Detail

getXid

public javax.transaction.xa.Xid getXid(javax.transaction.xa.Xid xid)
                                throws javax.transaction.xa.XAException
Description copied from class: XAResourceHelper
Create the xid for use with the XA resource from the specified xid.

The default implementation is to return the xid.

Overrides:
getXid in class XAResourceHelper
Following copied from class: jrunx.tyrex.tm.impl.XAResourceHelper
Parameters:
xid - The xid
Throws:
XAException - An error occured obtaining the xid

endSuspended

public void endSuspended(javax.transaction.xa.XAResource xaResource,
                         javax.transaction.xa.Xid xid)
                  throws javax.transaction.xa.XAException
Description copied from class: XAResourceHelper
End work performed by the specified xa resource that has previously been suspended.

The default implementation is to call end with the flag javax.transaction.xa.XAResource#TMSUCCESS

Overrides:
endSuspended in class XAResourceHelper
Following copied from class: jrunx.tyrex.tm.impl.XAResourceHelper
Parameters:
xaResource - The XA resource
Throws:
XAException - An error occured while ending the work performed by the XA resource


Copyright © 2002 Macromedia Corporation. All Rights Reserved.