|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jts.jtsxa.Utility
public class Utility
This is an Utility class containing helper functions.
| Method Summary | |
|---|---|
static org.omg.CosTransactions.Control |
getControl()
Obtain the current Control object. |
static org.omg.CosTransactions.Coordinator |
getCoordinator(org.omg.CosTransactions.Control control)
Obtain the coordinator object from the supplied control. |
static XID |
getXID()
Obtain the global transaction identifier for the current transaction. |
static XID |
getXID(org.omg.CosTransactions.Coordinator coordinator)
Obtain the global transaction identifier for the supplied coordinator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.omg.CosTransactions.Control getControl()
Controlpublic static org.omg.CosTransactions.Coordinator getCoordinator(org.omg.CosTransactions.Control control)
If a null control is supplied, an null coordinator will be returned.
control - the control object for which the coordinator
will be returned
Control,
Coordinatorpublic static XID getXID(org.omg.CosTransactions.Coordinator coordinator)
coordinator - the coordinator representing the transaction for which
the global transaction identifier is required
XIDpublic static XID getXID()
XID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||