org.apache.openejb.core
Class RestrictedUserTransaction

java.lang.Object
  extended by org.apache.openejb.core.RestrictedUserTransaction
All Implemented Interfaces:
UserTransaction

public class RestrictedUserTransaction
extends Object
implements UserTransaction

Version:
$Rev: 602704 $ $Date: 2007-12-09 18:58:22 +0100 (So, 09. Dez 2007) $

Constructor Summary
RestrictedUserTransaction(UserTransaction userTransaction)
           
 
Method Summary
 void begin()
           
 void commit()
           
 int getStatus()
           
 void rollback()
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictedUserTransaction

public RestrictedUserTransaction(UserTransaction userTransaction)
Method Detail

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

getStatus

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

rollback

public void rollback()
              throws IllegalStateException,
                     SecurityException,
                     SystemException
Specified by:
rollback in interface UserTransaction
Throws:
IllegalStateException
SecurityException
SystemException

setRollbackOnly

public void setRollbackOnly()
                     throws IllegalStateException,
                            SystemException
Specified by:
setRollbackOnly in interface UserTransaction
Throws:
IllegalStateException
SystemException

setTransactionTimeout

public void setTransactionTimeout(int i)
                           throws SystemException
Specified by:
setTransactionTimeout in interface UserTransaction
Throws:
SystemException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.