|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.arjuna.ats.jts.ExplicitInterposition
public class ExplicitInterposition
This class is responsible for doing interposition in the case where implicit context propagation is not possible.
| Constructor Summary | |
|---|---|
ExplicitInterposition()
Create a new instance and remember any current transaction that may be associated with the invoking thread so that it can be restored once interposition has finished. |
|
ExplicitInterposition(boolean remember)
Create a new instance. |
|
ExplicitInterposition(org.omg.CosTransactions.Control action,
boolean remember)
Create a new instance and interpose with the specified transaction. |
|
ExplicitInterposition(org.omg.CosTransactions.PropagationContext ctx,
boolean remember)
Create a new instance and interpose with the specified transaction. |
|
| Method Summary | |
|---|---|
void |
finalize()
|
void |
registerTransaction(org.omg.CosTransactions.Control action)
Perform interposition with the specified transaction. |
void |
unregisterTransaction()
We need this explicit method because we cannot rely upon the object "destructor" being called by the time the method which instantiated the interposition class ends! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExplicitInterposition()
public ExplicitInterposition(boolean remember)
public ExplicitInterposition(org.omg.CosTransactions.Control action,
boolean remember)
throws com.arjuna.ArjunaOTS.InterpositionFailed,
SystemException
com.arjuna.ArjunaOTS.InterpositionFailed
SystemException
public ExplicitInterposition(org.omg.CosTransactions.PropagationContext ctx,
boolean remember)
throws com.arjuna.ArjunaOTS.InterpositionFailed,
SystemException
com.arjuna.ArjunaOTS.InterpositionFailed
SystemException| Method Detail |
|---|
public void finalize()
finalize in class Object
public final void registerTransaction(org.omg.CosTransactions.Control action)
throws com.arjuna.ArjunaOTS.InterpositionFailed,
SystemException
com.arjuna.ArjunaOTS.InterpositionFailed
SystemException
public void unregisterTransaction()
throws SystemException
SystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||