edu.mssm.crover.ims
Interface TransactionManager

All Known Implementing Classes:
IMS

public interface TransactionManager


Method Summary
 void abortTxn(java.lang.String txnName)
          Abort a transaction.
 void beginTxn(java.lang.String txnName)
          Begin a transaction.
 void commitTxn(java.lang.String txnName)
          Commit a transaction.
 void debugTxnStack()
           
 org.odmg.Database getDB()
           
 boolean txnInProgress()
           
 

Method Detail

abortTxn

public void abortTxn(java.lang.String txnName)
Abort a transaction.

Throws:
TransactionNotFoundException - When the named transaction cannot be found.

beginTxn

public void beginTxn(java.lang.String txnName)
Begin a transaction.


commitTxn

public void commitTxn(java.lang.String txnName)
Commit a transaction.

Throws:
TransactionNotFoundException - When the named transaction cannot be found. !!@exception TransactionOutOfOrderException when the named transaction is not at the top of the stack

debugTxnStack

public void debugTxnStack()

txnInProgress

public boolean txnInProgress()

getDB

public org.odmg.Database getDB()


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.