org.axiondb
Interface TransactionManager

All Known Implementing Classes:
TransactionManagerImpl

public interface TransactionManager

Manages the Transactionlifecycle.

Version:
$Revision: 1.4 $ $Date: 2004/08/27 03:21:20 $

Method Summary
 void abortTransaction(Transaction t)
          Abort the given Transaction.
 void commitTransaction(Transaction t)
          Commit the given Transaction.
 Transaction createTransaction()
          Create a new Transaction.
 boolean isShutdown()
          Return whether or not I've been shutdown().
 void shutdown()
          Shut down this TransactionManager.
 

Method Detail

abortTransaction

public void abortTransaction(Transaction t)
                      throws AxionException
Abort the given Transaction.

Throws:
AxionException

commitTransaction

public void commitTransaction(Transaction t)
                       throws AxionException
Commit the given Transaction.

Throws:
AxionException

createTransaction

public Transaction createTransaction()
                              throws AxionException
Create a new Transaction.

Throws:
AxionException

isShutdown

public boolean isShutdown()
Return whether or not I've been shutdown().


shutdown

public void shutdown()
              throws AxionException
Shut down this TransactionManager.

Throws:
AxionException