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,
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
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.