|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserTransactionServer
An RMI-based server interface that allows remote clients to do client-demarcated transaction management. This interface is used by our RemoteClientUserTransaction.
| Method Summary | |
|---|---|
String |
begin(int timeout)
Create a new transaction. |
void |
commit(String tid)
Commit the transaction. |
int |
getStatus(String tid)
Get the status of the transaction. |
void |
rollback(String tid)
Rollback the transaction. |
void |
setRollbackOnly(String tid)
Mark the transaction for rollback only. |
| Method Detail |
|---|
String begin(int timeout)
throws RemoteException,
SystemException,
NotSupportedException
timeout - The timeout setting of the client UserTx.
RemoteException
SystemException
NotSupportedException
void commit(String tid)
throws RemoteException,
RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
tid - The tid of the tx to commit.
RemoteException
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
void rollback(String tid)
throws RemoteException,
IllegalStateException,
SecurityException,
SystemException
tid - The tid of the transaction to rollback.
RemoteException
IllegalStateException
SecurityException
SystemException
void setRollbackOnly(String tid)
throws RemoteException,
IllegalStateException,
SystemException
tid - The tid of the transaction to mark.
RemoteException
IllegalStateException
SystemException
int getStatus(String tid)
throws RemoteException,
SystemException
tid - The tid.
RemoteException
SystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||