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
HeuristicMixedExceptionHeuristicRollbackExceptionRollbackExceptionjava.lang.SecurityExceptionSystemExceptionboolean delistResource(XAResource xaRes, int flag) throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateExceptionSystemExceptionboolean enlistResource(XAResource xaRes) throws java.lang.IllegalStateException, RollbackException, SystemException
java.lang.IllegalStateExceptionRollbackExceptionSystemExceptionint getStatus()
throws SystemException
SystemExceptionvoid registerSynchronization(Synchronization synch) throws java.lang.IllegalStateException, RollbackException, SystemException
java.lang.IllegalStateExceptionRollbackExceptionSystemExceptionvoid rollback()
throws java.lang.IllegalStateException,
SystemException
java.lang.IllegalStateExceptionSystemExceptionvoid setRollbackOnly()
throws java.lang.IllegalStateException,
SystemException
java.lang.IllegalStateExceptionSystemExceptionCopyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.