org.openejb.ri.sp
Class PseudoTransactionService.MyTransactionManager
java.lang.Object
org.openejb.ri.sp.PseudoTransactionService.MyTransactionManager
- All Implemented Interfaces:
- TransactionManager
- Enclosing class:
- PseudoTransactionService
public class PseudoTransactionService.MyTransactionManager
- extends Object
- implements TransactionManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PseudoTransactionService.MyTransactionManager
public PseudoTransactionService.MyTransactionManager()
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-2010 OpenEJB. All Rights Reserved.