|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface defines the methods that ApplicationProgram has to implemenet.
| Method Summary | |
boolean |
beginTransaction()
Application call the tx_begin() to obtains the transaction id from TM when this method is called. |
void |
closeTransaction()
Application calls the tx_close() to tell TransactionManager that this transaction has been done. |
void |
commitTransaction()
Application call the tx_commit() to commit the transaction. |
int |
getTransactionId()
Obtains the transaction id |
void |
setTransactionManager(TMInterface obj)
Set up the TransactionManager instance. |
boolean |
setupSubTransaction()
Initiate and define the sub-transaction(s) under this method. |
| Method Detail |
public int getTransactionId()
public boolean beginTransaction()
TransactionManager.tx_begin()public boolean setupSubTransaction()
public void commitTransaction()
public void closeTransaction()
TransactionManager.tx_close(int)public void setTransactionManager(TMInterface obj)
TwoPhaseController
when the user's TransactionManager is loaded.obj - TMInterface objectTMInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||