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 Detail

begin

void begin()
           throws NotSupportedException,
                  SystemException
Throws:
NotSupportedException
SystemException

commit

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

getStatus

int getStatus()
              throws SystemException
Throws:
SystemException

getTransaction

Transaction getTransaction()
                           throws SystemException
Throws:
SystemException

resume

void resume(Transaction tobj)
            throws InvalidTransactionException,
                   IllegalStateException,
                   SystemException
Throws:
InvalidTransactionException
IllegalStateException
SystemException

rollback

void rollback()
              throws IllegalStateException,
                     SecurityException,
                     SystemException
Throws:
IllegalStateException
SecurityException
SystemException

setRollbackOnly

void setRollbackOnly()
                     throws IllegalStateException,
                            SystemException
Throws:
IllegalStateException
SystemException

setTransactionTimeout

void setTransactionTimeout(int seconds)
                           throws SystemException
Throws:
SystemException

suspend

Transaction suspend()
                    throws SystemException
Throws:
SystemException