javax.transaction
Interface Transaction
- public interface Transaction
- Version:
- $Revision: 1.3 $ $Date: 2004/03/10 10:00:12 $
commit
public void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
RollbackException,
SecurityException,
SystemException
- Throws:
HeuristicMixedException
HeuristicRollbackException
RollbackException
SecurityException
SystemException
delistResource
public boolean delistResource(XAResource xaRes,
int flag)
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
enlistResource
public boolean enlistResource(XAResource xaRes)
throws IllegalStateException,
RollbackException,
SystemException
- Throws:
IllegalStateException
RollbackException
SystemException
getStatus
public int getStatus()
throws SystemException
- Throws:
SystemException
registerSynchronization
public void registerSynchronization(Synchronization synch)
throws IllegalStateException,
RollbackException,
SystemException
- Throws:
IllegalStateException
RollbackException
SystemException
rollback
public void rollback()
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
setRollbackOnly
public void setRollbackOnly()
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.