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, java.lang.SecurityException, SystemException
HeuristicMixedException
HeuristicRollbackException
RollbackException
java.lang.SecurityException
SystemException
boolean delistResource(XAResource xaRes, int flag) throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException
boolean enlistResource(XAResource xaRes) throws java.lang.IllegalStateException, RollbackException, SystemException
java.lang.IllegalStateException
RollbackException
SystemException
int getStatus() throws SystemException
SystemException
void registerSynchronization(Synchronization synch) throws java.lang.IllegalStateException, RollbackException, SystemException
java.lang.IllegalStateException
RollbackException
SystemException
void rollback() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException
void setRollbackOnly() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException