javax.transaction

Interface TransactionManager

public interface TransactionManager

Method Summary

void
begin()
void
commit()
int
getStatus()
Transaction
getTransaction()
void
resume(Transaction tobj)
void
rollback()
void
setRollbackOnly()
void
setTransactionTimeout(int seconds)
Transaction
suspend()

Method Details

begin

public void begin()
            throws NotSupportedException,
                   SystemException

commit

public void commit()
            throws HeuristicMixedException,
                   HeuristicRollbackException,
                   IllegalStateException,
                   RollbackException,
                   SecurityException,
                   SystemException

getStatus

public int getStatus()
            throws SystemException

getTransaction

public Transaction getTransaction()
            throws SystemException

resume

public void resume(Transaction tobj)
            throws IllegalStateException,
                   InvalidTransactionException,
                   SystemException

rollback

public void rollback()
            throws IllegalStateException,
                   SecurityException,
                   SystemException

setRollbackOnly

public void setRollbackOnly()
            throws IllegalStateException,
                   SystemException

setTransactionTimeout

public void setTransactionTimeout(int seconds)
            throws SystemException

suspend

public Transaction suspend()
            throws SystemException