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

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

Throws:
AxionException

commitTransaction

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

Throws:
AxionException

createTransaction

Transaction createTransaction()
                              throws AxionException
Create a new Transaction.

Throws:
AxionException

isShutdown

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


shutdown

void shutdown()
              throws AxionException
Shut down this TransactionManager.

Throws:
AxionException