Class AtomicTransaction

java.lang.Object
com.arjuna.ats.jts.extensions.AtomicTransaction
com.arjuna.ats.internal.jta.transaction.jts.AtomicTransaction
Direct Known Subclasses:
SubordinateAtomicTransaction

public class AtomicTransaction extends AtomicTransaction
An extension of the AtomicTransaction class so we can create new instances without having to create a new transaction. Useful for when we work with imported transactions.
Since:
JTS 3.0.
Version:
$Id: AtomicTransaction.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark_little@hp.com)
  • Constructor Details

    • AtomicTransaction

      public AtomicTransaction()
    • AtomicTransaction

      public AtomicTransaction(com.arjuna.ats.internal.jts.ControlWrapper tx)
  • Method Details

    • end

      public void end(boolean report_heuristics) throws NoTransaction, HeuristicMixed, HeuristicHazard, org.omg.CORBA.WrongTransaction, org.omg.CORBA.SystemException
      Does not change thread-to-tx association as base class commit does.
      Throws:
      NoTransaction
      HeuristicMixed
      HeuristicHazard
      org.omg.CORBA.WrongTransaction
      org.omg.CORBA.SystemException
    • abort

      public void abort() throws NoTransaction, org.omg.CORBA.WrongTransaction, org.omg.CORBA.SystemException
      Does not change thread-to-tx association as base class rollback does.
      Throws:
      NoTransaction
      org.omg.CORBA.WrongTransaction
      org.omg.CORBA.SystemException
    • getControlWrapper

      public final com.arjuna.ats.internal.jts.ControlWrapper getControlWrapper()
    • get_xid

      public final Xid get_xid(boolean branch) throws org.omg.CORBA.SystemException
      Throws:
      org.omg.CORBA.SystemException