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 sync) |
void |
rollback() |
void |
setRollbackOnly() |
void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, SystemException
boolean delistResource(XAResource xaRes, int flag) throws IllegalStateException, SystemException
IllegalStateExceptionSystemExceptionboolean enlistResource(XAResource xaRes) throws RollbackException, IllegalStateException, SystemException
int getStatus() throws SystemException
SystemExceptionvoid registerSynchronization(Synchronization sync) throws RollbackException, IllegalStateException, SystemException
void rollback() throws IllegalStateException, SystemException
IllegalStateExceptionSystemExceptionvoid setRollbackOnly() throws IllegalStateException, SystemException
IllegalStateExceptionSystemException