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
IllegalStateException
SystemException
boolean enlistResource(XAResource xaRes) throws IllegalStateException, RollbackException, SystemException
int getStatus() throws SystemException
SystemException
void registerSynchronization(Synchronization synch) throws IllegalStateException, RollbackException, SystemException
void rollback() throws IllegalStateException, SystemException
IllegalStateException
SystemException
void setRollbackOnly() throws IllegalStateException, SystemException
IllegalStateException
SystemException
Copyright © 2014. All rights reserved.