|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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
java.rmi.RemoteException
public java.lang.Object begin(int timeout)
throws java.rmi.RemoteException,
NotSupportedException (src) ,
SystemException (src)
timeout - The timeout value for the new transaction, in seconds.
java.rmi.RemoteException
NotSupportedException (src)
SystemException (src)
public void commit(java.lang.Object tpc)
throws java.rmi.RemoteException,
RollbackException (src) ,
HeuristicMixedException (src) ,
HeuristicRollbackException (src) ,
java.lang.SecurityException,
java.lang.IllegalStateException,
SystemException (src)
tpc - The transaction propagation context for the transaction.
java.rmi.RemoteException
RollbackException (src)
HeuristicMixedException (src)
HeuristicRollbackException (src)
java.lang.SecurityException
java.lang.IllegalStateException
SystemException (src)
public void rollback(java.lang.Object tpc)
throws java.rmi.RemoteException,
java.lang.SecurityException,
java.lang.IllegalStateException,
SystemException (src)
tpc - The transaction propagation context for the transaction.
java.rmi.RemoteException
java.lang.SecurityException
java.lang.IllegalStateException
SystemException (src)
public void setRollbackOnly(java.lang.Object tpc)
throws java.rmi.RemoteException,
java.lang.IllegalStateException,
SystemException (src)
tpc - The transaction propagation context for the transaction.
java.rmi.RemoteException
java.lang.IllegalStateException
SystemException (src)
public int getStatus(java.lang.Object tpc)
throws java.rmi.RemoteException,
SystemException (src)
tpc - The transaction propagation context for the transaction.
java.rmi.RemoteException
SystemException (src)
|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||