|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITransactionManager
Field Summary | |
---|---|
static java.lang.String |
RMI_TM_NAME
|
Method Summary | |
---|---|
boolean |
abort(int globalXID)
Abort a distributed transaction. |
int |
begin()
Begin a new distributed transaction. |
boolean |
commit(int globalXID)
Commit a distributed transaction. |
boolean |
enlist(java.lang.String resourceManagerRMIName,
int globalXID)
Enlist a resource manager with the given name to the list of participants for the given distributed transaction. |
Field Detail |
---|
static final java.lang.String RMI_TM_NAME
Method Detail |
---|
int begin() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean commit(int globalXID) throws TransactionAbortedException, InvalidTransactionException, java.rmi.RemoteException
globalXID
- the id of the distributed transaction
TransactionAbortedException
InvalidTransactionException
java.rmi.RemoteException
boolean abort(int globalXID) throws TransactionAbortedException, InvalidTransactionException, java.rmi.RemoteException
globalXID
- the id of the distributed transaction
TransactionAbortedException
InvalidTransactionException
java.rmi.RemoteException
boolean enlist(java.lang.String resourceManagerRMIName, int globalXID)
resourceManagerRMIName
- the RMI name of the RMglobalXID
- the id of the distributed transaction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |