public interface Transaction
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
boolean |
delistResource(XAResource xaRes,
int flag) |
boolean |
enlistResource(XAResource xaRes) |
int |
getStatus() |
void |
registerSynchronization(Synchronization synch) |
void |
rollback() |
void |
setRollbackOnly() |
void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
RollbackException,
SecurityException,
SystemException
boolean delistResource(XAResource xaRes, int flag) throws IllegalStateException, SystemException
IllegalStateExceptionSystemExceptionboolean enlistResource(XAResource xaRes) throws IllegalStateException, RollbackException, SystemException
int getStatus()
throws SystemException
SystemExceptionvoid registerSynchronization(Synchronization synch) throws IllegalStateException, RollbackException, SystemException
void rollback()
throws IllegalStateException,
SystemException
IllegalStateExceptionSystemExceptionvoid setRollbackOnly()
throws IllegalStateException,
SystemException
IllegalStateExceptionSystemExceptionCopyright © 2014. All Rights Reserved.