javax.transaction
Interface Transaction
- public interface Transaction
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 03:56:06 -0600 (Tue, 14 Sep 2004) $
commit
public void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
RollbackException,
java.lang.SecurityException,
SystemException
- Throws:
HeuristicMixedException
HeuristicRollbackException
RollbackException
java.lang.SecurityException
SystemException
delistResource
public boolean delistResource(XAResource xaRes,
int flag)
throws java.lang.IllegalStateException,
SystemException
- Throws:
java.lang.IllegalStateException
SystemException
enlistResource
public boolean enlistResource(XAResource xaRes)
throws java.lang.IllegalStateException,
RollbackException,
SystemException
- Throws:
java.lang.IllegalStateException
RollbackException
SystemException
getStatus
public int getStatus()
throws SystemException
- Throws:
SystemException
registerSynchronization
public void registerSynchronization(Synchronization synch)
throws java.lang.IllegalStateException,
RollbackException,
SystemException
- Throws:
java.lang.IllegalStateException
RollbackException
SystemException
rollback
public void rollback()
throws java.lang.IllegalStateException,
SystemException
- Throws:
java.lang.IllegalStateException
SystemException
setRollbackOnly
public void setRollbackOnly()
throws java.lang.IllegalStateException,
SystemException
- Throws:
java.lang.IllegalStateException
SystemException