Home » activemq-parent-5.3.1-source-release » org.apache » activemq » transaction » [javadoc | source]
abstract public class: Transaction [javadoc | source]

Direct Known Subclasses:
    LocalTransaction, XATransaction

Keeps track of all the actions the need to be done when a transaction does a commit or rollback.
Field Summary
public static final  byte START_STATE     
public static final  byte IN_USE_STATE     
public static final  byte PREPARED_STATE     
public static final  byte FINISHED_STATE     
Method from org.apache.activemq.transaction.Transaction Summary:
addSynchronization,   commit,   fireAfterCommit,   fireAfterRollback,   getState,   getTransactionId,   isPrepared,   prePrepare,   prepare,   removeSynchronization,   rollback,   setState,   size,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.transaction.Transaction Detail:
 public  void addSynchronization(Synchronization r) 
 abstract public  void commit(boolean onePhase) throws XAException, IOException
 protected  void fireAfterCommit() throws Exception 
 public  void fireAfterRollback() throws Exception 
 public byte getState() 
 abstract public TransactionId getTransactionId()
 public boolean isPrepared() 
 public  void prePrepare() throws Exception 
 abstract public int prepare() throws XAException, IOException
 public  void removeSynchronization(Synchronization r) 
 abstract public  void rollback() throws XAException, IOException
 public  void setState(byte state) 
 public int size() 
 public String toString()