* cfgloop.c (flow_loop_entry_edges_find): Fix typo.
[official-gcc.git] / libjava / javax / transaction / Transaction.java
blob632707c6ccc788cdc0aea6d44e60a288111ce761
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;
10 import javax.transaction.xa.XAResource;
12 /**
13 * @author Warren Levy <warrenl@redhat.com>
14 * @date May 25, 2001
17 public abstract interface Transaction
19 public void commit()
20 throws RollbackException, HeuristicMixedException,
21 HeuristicRollbackException, java.lang.SecurityException, SystemException;
22 public boolean delistResource(XAResource xaRes, int flag)
23 throws java.lang.IllegalStateException, SystemException;
24 public boolean enlistResource(XAResource xaRes)
25 throws RollbackException, java.lang.IllegalStateException, SystemException;
26 public int getStatus() throws SystemException;
27 public void registerSynchronization(Synchronization sync)
28 throws RollbackException, java.lang.IllegalStateException, SystemException;
29 public void rollback()
30 throws java.lang.IllegalStateException, SystemException;
31 public void setRollbackOnly()
32 throws java.lang.IllegalStateException, SystemException;