/[classpath]/classpath/javax/transaction/TransactionManager.java
ViewVC logotype

Diff of /classpath/javax/transaction/TransactionManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mark, Tue Nov 26 22:45:56 2002 UTC revision 1.2 by mkoch, Sun Oct 12 16:50:21 2003 UTC
# Line 45  package javax.transaction; Line 45  package javax.transaction;
45    
46  public interface TransactionManager  public interface TransactionManager
47  {  {
48    public void begin() throws NotSupportedException, SystemException;    void begin() throws NotSupportedException, SystemException;
49    
50    public void commit()    void commit()
51      throws RollbackException, HeuristicMixedException,      throws RollbackException, HeuristicMixedException,
52        HeuristicRollbackException, SecurityException,        HeuristicRollbackException, SecurityException,
53        IllegalStateException, SystemException;        IllegalStateException, SystemException;
54    
55    public int getStatus() throws SystemException;    int getStatus() throws SystemException;
56    
57    public Transaction getTransaction() throws SystemException;    Transaction getTransaction() throws SystemException;
58    
59    public void resume(Transaction tobj)    void resume(Transaction tobj)
60      throws InvalidTransactionException, IllegalStateException,      throws InvalidTransactionException, IllegalStateException,
61        SystemException;        SystemException;
62    
63    public void rollback()    void rollback()
64      throws IllegalStateException, SecurityException, SystemException;      throws IllegalStateException, SecurityException, SystemException;
65    
66    public void setRollbackOnly()    void setRollbackOnly()
67      throws IllegalStateException, SystemException;      throws IllegalStateException, SystemException;
68    
69    public void setTransactionTimeout(int seconds) throws SystemException;    void setTransactionTimeout(int seconds) throws SystemException;
70    
71    public Transaction suspend() throws SystemException;    Transaction suspend() throws SystemException;
72  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26