javax.transaction
Interface Transaction
public interface Transaction
- Version:
- $Rev: 467742 $ $Date: 2006-10-25 20:30:38 +0100 (Wed, 25 Oct 2006) $
commit
void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
RollbackException,
SecurityException,
SystemException
- Throws:
HeuristicMixedException
HeuristicRollbackException
RollbackException
SecurityException
SystemException
delistResource
boolean delistResource(XAResource xaRes,
int flag)
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
enlistResource
boolean enlistResource(XAResource xaRes)
throws IllegalStateException,
RollbackException,
SystemException
- Throws:
IllegalStateException
RollbackException
SystemException
getStatus
int getStatus()
throws SystemException
- Throws:
SystemException
registerSynchronization
void registerSynchronization(Synchronization synch)
throws IllegalStateException,
RollbackException,
SystemException
- Throws:
IllegalStateException
RollbackException
SystemException
rollback
void rollback()
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
setRollbackOnly
void setRollbackOnly()
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.