|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The RMI remote UserTransaction session interface.
| Method Summary | |
java.lang.Object |
begin(int timeout)
Start a new transaction, and return its TPC. |
void |
commit(java.lang.Object tpc)
Commit the transaction. |
void |
destroy()
Destroy this session. |
int |
getStatus(java.lang.Object tpc)
Return status of the transaction. |
void |
rollback(java.lang.Object tpc)
Rollback the transaction. |
void |
setRollbackOnly(java.lang.Object tpc)
Mark the transaction for rollback only. |
| Method Detail |
public void destroy()
throws java.rmi.RemoteException
public java.lang.Object begin(int timeout)
throws java.rmi.RemoteException,
javax.transaction.NotSupportedException,
javax.transaction.SystemException
timeout - The timeout value for the new transaction, in seconds.
public void commit(java.lang.Object tpc)
throws java.rmi.RemoteException,
javax.transaction.RollbackException,
javax.transaction.HeuristicMixedException,
javax.transaction.HeuristicRollbackException,
java.lang.SecurityException,
java.lang.IllegalStateException,
javax.transaction.SystemException
tpc - The transaction propagation context for the transaction.
public void rollback(java.lang.Object tpc)
throws java.rmi.RemoteException,
java.lang.SecurityException,
java.lang.IllegalStateException,
javax.transaction.SystemException
tpc - The transaction propagation context for the transaction.
public void setRollbackOnly(java.lang.Object tpc)
throws java.rmi.RemoteException,
java.lang.IllegalStateException,
javax.transaction.SystemException
tpc - The transaction propagation context for the transaction.
public int getStatus(java.lang.Object tpc)
throws java.rmi.RemoteException,
javax.transaction.SystemException
tpc - The transaction propagation context for the transaction.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||