pt.ist.fenixframework.util
Class JTADelegatingTransaction
java.lang.Object
pt.ist.fenixframework.util.JTADelegatingTransaction
- All Implemented Interfaces:
- Transaction
public class JTADelegatingTransaction
- extends Object
- implements Transaction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTADelegatingTransaction
public JTADelegatingTransaction(Transaction delegateTx)
commit
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
SystemException
- Specified by:
commit
in interface Transaction
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
SystemException
delistResource
public boolean delistResource(XAResource xaRes,
int flag)
throws IllegalStateException,
SystemException
- Specified by:
delistResource
in interface Transaction
- Throws:
IllegalStateException
SystemException
enlistResource
public boolean enlistResource(XAResource xaRes)
throws RollbackException,
IllegalStateException,
SystemException
- Specified by:
enlistResource
in interface Transaction
- Throws:
RollbackException
IllegalStateException
SystemException
getStatus
public int getStatus()
throws SystemException
- Specified by:
getStatus
in interface Transaction
- Throws:
SystemException
registerSynchronization
public void registerSynchronization(Synchronization sync)
throws RollbackException,
IllegalStateException,
SystemException
- Specified by:
registerSynchronization
in interface Transaction
- Throws:
RollbackException
IllegalStateException
SystemException
rollback
public void rollback()
throws IllegalStateException,
SystemException
- Specified by:
rollback
in interface Transaction
- Throws:
IllegalStateException
SystemException
setRollbackOnly
public void setRollbackOnly()
throws IllegalStateException,
SystemException
- Specified by:
setRollbackOnly
in interface Transaction
- Throws:
IllegalStateException
SystemException
getTxIntrospector
public TxStats getTxIntrospector()
- Description copied from interface:
Transaction
- Get the TxIntrospector object that contains the changes caused by this
transaction. Multiple calls to this method will return the same object.
- Returns:
- TxIntrospector The TxIntrospector object associated with this
transaction.
Copyright © 2013. All Rights Reserved.