|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MfTransaction defines a transaction instance (start/stop mode). It is created with the newTransaction() method of MfTransactionFactory.
Method Summary | |
int |
block()
Indicates that the transaction instance is blocked waiting on an external transaction (which may or may not be instrumented with this API). |
int |
start()
Indicates that the transaction is beginning execution. |
int |
stop()
Signals the end of the transaction. |
int |
stop(int status)
Signals the end of the transaction. |
int |
unblock()
Indicates the end of an external transaction. |
Methods inherited from interface com.sun.mfwk.trans.MfGenericTransaction |
getDefinition, getParentTrans |
Methods inherited from interface javax.management.NotificationListener |
handleNotification |
Methods inherited from interface com.sun.mfwk.trans.MfTranInterface |
getErrorCode, getErrorMessage, setErrorCode |
Method Detail |
public int start()
public int stop(int status)
status
- the status of the transaction (one of the constants in MfConstants)public int stop()
public int block()
public int unblock()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |