javax.transaction
Interface Transaction
public interface Transaction
commit
void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
SystemException
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
SystemException
delistResource
boolean delistResource(XAResource xaRes,
int flag)
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
enlistResource
boolean enlistResource(XAResource xaRes)
throws RollbackException,
IllegalStateException,
SystemException
- Throws:
RollbackException
IllegalStateException
SystemException
getStatus
int getStatus()
throws SystemException
- Throws:
SystemException
registerSynchronization
void registerSynchronization(Synchronization sync)
throws RollbackException,
IllegalStateException,
SystemException
- Throws:
RollbackException
IllegalStateException
SystemException
rollback
void rollback()
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
setRollbackOnly
void setRollbackOnly()
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException