org.objectweb.jotm.impl.core.transaction
Class TransactionManagerImpl

java.lang.Object
  |
  +--org.objectweb.jotm.impl.core.transaction.TransactionManagerImpl
All Implemented Interfaces:
TransactionManager

public class TransactionManagerImpl
extends java.lang.Object
implements TransactionManager

A basic implementation of the transaction manager. It supports TwoPhaseCommitTransaction.


Constructor Summary
TransactionManagerImpl()
           
 
Method Summary
 LogReader getLogReader()
           
 LogWriter getLogWriter()
          Comparing to LogManager.getWriter, this method doesn't throw any exception.
 BasicTransaction getTransaction()
           
 BasicTransaction getTransaction(java.lang.String txName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManagerImpl

public TransactionManagerImpl()
Method Detail

getTransaction

public BasicTransaction getTransaction()
Specified by:
getTransaction in interface TransactionManager

getTransaction

public BasicTransaction getTransaction(java.lang.String txName)
Specified by:
getTransaction in interface TransactionManager

getLogWriter

public LogWriter getLogWriter()
Description copied from interface: TransactionManager
Comparing to LogManager.getWriter, this method doesn't throw any exception.

Specified by:
getLogWriter in interface TransactionManager

getLogReader

public LogReader getLogReader()
Specified by:
getLogReader in interface TransactionManager