public class Utility extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 returnedControl,
Coordinatorpublic static XID getXID(org.omg.CosTransactions.Coordinator coordinator)
coordinator - the coordinator representing the transaction for which
the global transaction identifier is requiredXIDCopyright © 2019. All rights reserved.