* cfgloop.c (flow_loop_entry_edges_find): Fix typo.
[official-gcc.git] / libjava / javax / transaction / TransactionManager.java
blob9f5f57cb35150052e5b4ad606d8ef8562069f20b
1 /* Copyright (C) 2001 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
9 package javax.transaction;
11 /**
12 * @author Warren Levy <warrenl@redhat.com>
13 * @date May 25, 2001
16 public abstract interface TransactionManager
18 public void begin() throws NotSupportedException, SystemException;
19 public void commit()
20 throws RollbackException, HeuristicMixedException,
21 HeuristicRollbackException, java.lang.SecurityException,
22 java.lang.IllegalStateException, SystemException;
23 public int getStatus() throws SystemException;
24 public Transaction getTransaction() throws SystemException;
25 public void resume(Transaction tobj)
26 throws InvalidTransactionException, java.lang.IllegalStateException,
27 SystemException;
28 public void rollback()
29 throws java.lang.IllegalStateException, java.lang.SecurityException,
30 SystemException;
31 public void setRollbackOnly()
32 throws java.lang.IllegalStateException, SystemException;
33 public void setTransactionTimeout(int seconds) throws SystemException;
34 public Transaction suspend() throws SystemException;