public class ArjunaTransactionImpleWrapper extends ArjunaTransactionImple implements ActionBeanWrapperInterface
ArjunaTransactionImple
controlHandle, parentTransaction
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList
modifyingActions, objectModel, objectUid, usingActions
Constructor and Description |
---|
ArjunaTransactionImpleWrapper() |
ArjunaTransactionImpleWrapper(ActionBean action,
UidWrapper w) |
Modifier and Type | Method and Description |
---|---|
boolean |
activate()
Overloaded version of activate -- sets up the store, performs read_state
followed by restore_state.
|
void |
clearHeuristicDecision(int newDecision) |
void |
doUpdateState() |
BasicAction |
getAction() |
RecordList |
getRecords(ParticipantStatus type) |
Uid |
getUid(AbstractRecord rec) |
void |
register() |
StringBuilder |
toString(String prefix,
StringBuilder sb) |
void |
unregister() |
commit, create_subtransaction, createOTSRecord, createOTSRecord, destroyAction, doAfterCompletion, doBeforeCompletion, equals, finalize, forgetHeuristics, get_parent_status, get_status, get_top_level_status, get_transaction_name, get_txcontext, getControlHandle, getSynchronizations, hash_top_level_tran, hash_transaction, interpositionType, is_ancestor_transaction, is_descendant_transaction, is_related_transaction, is_same_transaction, is_top_level_transaction, register_resource, register_subtran_aware, register_synchronization, rollback_only, rollback, setControlHandle, topLevelUid, toString, type, typeName, uid
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, cancel, end, getDeferredThrowable, running, start, start
Abort, abortStatus, activate, activeThreads, add, addChildAction, addChildThread, addChildThread, addRecord, async_prepare, Begin, checkForCurrent, childTransactions, commitStatus, criticalEnd, criticalStart, Current, deactivate, destroy, doAbort, doAbort, doCommit, doCommit, doPrepare, End, finalizeInternal, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, restore_state, save_state, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, typeOfAction, updateHeuristic, updateState
cleanup, createLists, deactivate, deactivate, disable, forgetAction, get_uid, getMutex, getObjectModel, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutex, unpackHeader
get_uid
get_uid, preventCommit
public ArjunaTransactionImpleWrapper()
public ArjunaTransactionImpleWrapper(ActionBean action, UidWrapper w)
public boolean activate()
BasicAction
null
.activate
in interface ActionBeanWrapperInterface
activate
in class BasicAction
true
if successful, false
otherwise.ObjectStore
public void doUpdateState()
doUpdateState
in interface ActionBeanWrapperInterface
public Uid getUid(AbstractRecord rec)
getUid
in interface ActionBeanWrapperInterface
public void register()
public void unregister()
public RecordList getRecords(ParticipantStatus type)
getRecords
in interface ActionBeanWrapperInterface
public StringBuilder toString(String prefix, StringBuilder sb)
toString
in interface ActionBeanWrapperInterface
public BasicAction getAction()
getAction
in interface ActionBeanWrapperInterface
public void clearHeuristicDecision(int newDecision)
clearHeuristicDecision
in interface ActionBeanWrapperInterface
Copyright © 2014 JBoss by Red Hat. All rights reserved.