|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jts.CosTransactions.CurrentTransaction
public class CurrentTransaction
This class manages association of transactions with threads in a process, and associated state/operations.
| Constructor Summary | |
|---|---|
CurrentTransaction()
|
|
| Method Summary | |
|---|---|
static ControlImpl |
getCurrent()
Returns the current Control object. |
static boolean |
isTxAssociated()
|
static void |
recreate(GlobalTID tid,
int timeout)
Recreates a transaction based on the information contained in the transaction id (tid) and associates the current thread of control with the recreated transaction. |
static void |
release(GlobalTID tid)
Disassociates the current thread of control from the specified transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CurrentTransaction()
| Method Detail |
|---|
public static boolean isTxAssociated()
public static ControlImpl getCurrent()
throws org.omg.CORBA.TRANSACTION_ROLLEDBACK
That is, the Control object that corresponds to the thread under which the operation was invoked. If there is no such association the null value is returned.
-
org.omg.CORBA.TRANSACTION_ROLLEDBACK
public static void recreate(GlobalTID tid,
int timeout)
tid - the transaction id.public static void release(GlobalTID tid)
tid - the transaction id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||