org.apache.geronimo.transaction
Class GeronimoUserTransaction
java.lang.Object
  
org.apache.geronimo.transaction.GeronimoUserTransaction
- All Implemented Interfaces: 
 - Serializable, UserTransaction
 
public final class GeronimoUserTransaction
- extends Object
- implements UserTransaction, Serializable
  
- See Also:
 - Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GeronimoUserTransaction
public GeronimoUserTransaction(TransactionManager transactionManager)
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)
 
 
getStatus
public int getStatus()
              throws SystemException
- Specified by:
 getStatus in interface UserTransaction
 
- Throws:
 SystemException
 
setRollbackOnly
public void setRollbackOnly()
                     throws IllegalStateException,
                            SystemException
- Specified by:
 setRollbackOnly in interface UserTransaction
 
- Throws:
 IllegalStateException
SystemException
 
setTransactionTimeout
public void setTransactionTimeout(int seconds)
                           throws SystemException
- Specified by:
 setTransactionTimeout in interface UserTransaction
 
- Throws:
 SystemException
 
begin
public void begin()
           throws NotSupportedException,
                  SystemException
- Specified by:
 begin in interface UserTransaction
 
- Throws:
 NotSupportedException
SystemException
 
commit
public void commit()
            throws HeuristicMixedException,
                   HeuristicRollbackException,
                   IllegalStateException,
                   RollbackException,
                   SecurityException,
                   SystemException
- Specified by:
 commit in interface UserTransaction
 
- Throws:
 HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
 
rollback
public void rollback()
              throws IllegalStateException,
                     SecurityException,
                     SystemException
- Specified by:
 rollback in interface UserTransaction
 
- Throws:
 IllegalStateException
SecurityException
SystemException
 
Copyright © 2006 Apache Software Foundation. All Rights Reserved.