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
9 package javax
.transaction
;
12 * @author Warren Levy <warrenl@redhat.com>
16 public abstract interface TransactionManager
18 public void begin() throws NotSupportedException
, SystemException
;
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
,
28 public void rollback()
29 throws java
.lang
.IllegalStateException
, java
.lang
.SecurityException
,
31 public void setRollbackOnly()
32 throws java
.lang
.IllegalStateException
, SystemException
;
33 public void setTransactionTimeout(int seconds
) throws SystemException
;
34 public Transaction
suspend() throws SystemException
;