org.openejb.ri.sp
Class PseudoTransactionService.MyTransactionManager

java.lang.Object
  extended byorg.openejb.ri.sp.PseudoTransactionService.MyTransactionManager
All Implemented Interfaces:
TransactionManager
Enclosing class:
PseudoTransactionService

public class PseudoTransactionService.MyTransactionManager
extends Object
implements TransactionManager


Constructor Summary
PseudoTransactionService.MyTransactionManager()
           
 
Method Summary
 void begin()
           
 void commit()
           
 int getStatus()
           
 Transaction getTransaction()
           
 UserTransaction getUserTransaction(Object txID)
           
 void resume(Transaction tx)
           
 void rollback()
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int x)
           
 Transaction suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoTransactionService.MyTransactionManager

public PseudoTransactionService.MyTransactionManager()
Method Detail

getUserTransaction

public UserTransaction getUserTransaction(Object txID)

begin

public void begin()
Specified by:
begin in interface TransactionManager

commit

public void commit()
            throws RollbackException
Specified by:
commit in interface TransactionManager
Throws:
RollbackException

getStatus

public int getStatus()
              throws SystemException
Specified by:
getStatus in interface TransactionManager
Throws:
SystemException

getTransaction

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

resume

public void resume(Transaction tx)
            throws SystemException,
                   InvalidTransactionException
Specified by:
resume in interface TransactionManager
Throws:
SystemException
InvalidTransactionException

suspend

public Transaction suspend()
Specified by:
suspend in interface TransactionManager

rollback

public void rollback()
Specified by:
rollback in interface TransactionManager

setRollbackOnly

public void setRollbackOnly()
Specified by:
setRollbackOnly in interface TransactionManager

setTransactionTimeout

public void setTransactionTimeout(int x)
Specified by:
setTransactionTimeout in interface TransactionManager


Copyright © 1999-2007 OpenEJB. All Rights Reserved.