public class ExplicitInterposition extends Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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!
|
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
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
Copyright © 2013. All Rights Reserved.