org.apache.servicemix.jbi.nmr.flow.jca
Class JCAFlow.RecoverableTransactionManagerWrapper

java.lang.Object
  extended by org.apache.servicemix.jbi.nmr.flow.jca.JCAFlow.RecoverableTransactionManagerWrapper
All Implemented Interfaces:
TransactionManager, org.apache.geronimo.transaction.manager.RecoverableTransactionManager
Enclosing class:
JCAFlow

public static class JCAFlow.RecoverableTransactionManagerWrapper
extends Object
implements org.apache.geronimo.transaction.manager.RecoverableTransactionManager


Constructor Summary
JCAFlow.RecoverableTransactionManagerWrapper(TransactionManager txMgr)
           
 
Method Summary
 void begin()
           
 void commit()
           
 int getStatus()
           
 Transaction getTransaction()
           
 void recoverResourceManager(org.apache.geronimo.transaction.manager.NamedXAResource namedXAResource)
           
 void recoveryError(Exception e)
           
 void resume(Transaction transaction)
           
 void rollback()
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int i)
           
 Transaction suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCAFlow.RecoverableTransactionManagerWrapper

public JCAFlow.RecoverableTransactionManagerWrapper(TransactionManager txMgr)
Method Detail

begin

public void begin()
           throws NotSupportedException,
                  SystemException
Specified by:
begin in interface TransactionManager
Throws:
NotSupportedException
SystemException

commit

public void commit()
            throws HeuristicMixedException,
                   HeuristicRollbackException,
                   IllegalStateException,
                   RollbackException,
                   SecurityException,
                   SystemException
Specified by:
commit in interface TransactionManager
Throws:
HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException

getStatus

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

getTransaction

public Transaction getTransaction()
                           throws SystemException
Specified by:
getTransaction in interface TransactionManager
Throws:
SystemException

resume

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

rollback

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

setRollbackOnly

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

setTransactionTimeout

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

suspend

public Transaction suspend()
                    throws SystemException
Specified by:
suspend in interface TransactionManager
Throws:
SystemException

recoveryError

public void recoveryError(Exception e)
Specified by:
recoveryError in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManager

recoverResourceManager

public void recoverResourceManager(org.apache.geronimo.transaction.manager.NamedXAResource namedXAResource)
Specified by:
recoverResourceManager in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManager


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.