|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.icatch.imp.AbstractCompositeTransaction
com.atomikos.icatch.imp.CompositeTransactionAdaptor
public class CompositeTransactionAdaptor
A composite transaction adaptor for interposition on an imported instance. This allows substitution of the recovery coordinator adaptor.
| Field Summary |
|---|
| Fields inherited from class com.atomikos.icatch.imp.AbstractCompositeTransaction |
|---|
lineage_, properties_, serial_, tag_, tid_ |
| Constructor Summary | |
|---|---|
CompositeTransactionAdaptor(Stack lineage,
String tid,
boolean serial,
RecoveryCoordinator adaptor,
Boolean isRecoverableWhileActive)
Create a new instance. |
|
CompositeTransactionAdaptor(String root,
boolean serial,
RecoveryCoordinator adaptor)
Constructor for testin. |
|
CompositeTransactionAdaptor(String root,
boolean serial,
RecoveryCoordinator adaptor,
Properties properties)
Constructs a new instance for an imported ROOT. |
|
| Method Summary | |
|---|---|
CompositeCoordinator |
getCompositeCoordinator()
|
String |
getCoordinatorId()
|
RecoveryCoordinator |
getRecoveryCoordinator()
|
HeuristicMessage[] |
getTags()
|
Boolean |
isRecoverableWhileActive()
Checks whether the instance is recoverable in the active state. |
void |
setRecoverableWhileActive()
Sets this coordinator to be recoverable while active. |
| Methods inherited from class com.atomikos.icatch.imp.AbstractCompositeTransaction |
|---|
addParticipant, addSubTxAwareParticipant, commit, createSubTransaction, equals, getExtent, getLineage, getLocalSubTxCount, getProperties, getProperty, getState, getTid, getTimeout, getTransactionControl, hashCode, isAncestorOf, isDescendantOf, isLocal, isRelatedTransaction, isRoot, isSameTransaction, isSerial, registerSynchronization, rollback, setProperty, setRollbackOnly, setSerial, setTag |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeTransactionAdaptor(Stack lineage,
String tid,
boolean serial,
RecoveryCoordinator adaptor,
Boolean isRecoverableWhileActive)
lineage - The parent info, not including the instance being
constructed here!serial - True if serial.adaptor - The adaptor for replay requests.isRecoverableWhileActive - Whether recoverable in active state or not. Null if not known.
public CompositeTransactionAdaptor(String root,
boolean serial,
RecoveryCoordinator adaptor)
root - serial - adaptor -
public CompositeTransactionAdaptor(String root,
boolean serial,
RecoveryCoordinator adaptor,
Properties properties)
root - The root URI.serial - Flag for serial mode.adaptor - The adaptor for recovery.| Method Detail |
|---|
public CompositeCoordinator getCompositeCoordinator()
throws SysException
getCompositeCoordinator in interface CompositeTransactiongetCompositeCoordinator in class AbstractCompositeTransactionSysExceptionCompositeCoordinator.public String getCoordinatorId()
getCoordinatorId in interface CompositeCoordinatorCompositeCoordinator.public HeuristicMessage[] getTags()
getTags in interface CompositeCoordinatorCompositeCoordinator.public RecoveryCoordinator getRecoveryCoordinator()
getRecoveryCoordinator in interface CompositeCoordinatorCompositeCoordinator.public Boolean isRecoverableWhileActive()
CompositeCoordinator
isRecoverableWhileActive in interface CompositeCoordinatorpublic void setRecoverableWhileActive()
CompositeCoordinator
setRecoverableWhileActive in interface CompositeCoordinator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||