45 |
|
|
46 |
public interface UserTransaction |
public interface UserTransaction |
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 void rollback() |
void rollback() |
56 |
throws IllegalStateException, SecurityException, SystemException; |
throws IllegalStateException, SecurityException, SystemException; |
57 |
|
|
58 |
public void setRollbackOnly() |
void setRollbackOnly() |
59 |
throws IllegalStateException, SystemException; |
throws IllegalStateException, SystemException; |
60 |
|
|
61 |
public int getStatus() throws SystemException; |
int getStatus() throws SystemException; |
62 |
|
|
63 |
public void setTransactionTimeout(int seconds) throws SystemException; |
void setTransactionTimeout(int seconds) throws SystemException; |
64 |
} |
} |