Class ActionBean.GenericAtomicActionWrapper
- java.lang.Object
-
- com.arjuna.ats.arjuna.tools.osb.mbean.ActionBean.GenericAtomicActionWrapper
-
- All Implemented Interfaces:
ActionBeanWrapperInterface
- Enclosing class:
- ActionBean
public static class ActionBean.GenericAtomicActionWrapper extends Object implements ActionBeanWrapperInterface
The ActionBean needs access to the participant lists maintained by an AtomicAction but these lists are protected. Therefore define a simple extension class to get at these records:
-
-
Constructor Summary
Constructors Constructor Description GenericAtomicActionWrapper(BasicAction ba, UidWrapper w)GenericAtomicActionWrapper(String classType, UidWrapper w)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanactivate()voidclearHeuristicDecision(int newDecision)voiddoUpdateState()Uidget_uid()BasicActiongetAction()RecordListgetRecords(ParticipantStatus type)RecordListgetRecords(String ln)UidgetUid(AbstractRecord rec)voidremove(LogRecordWrapper logRecordWrapper)booleanremoveRecords(RecordList rl, LogRecordWrapper logRecordWrapper)StringBuildertoString(String prefix, StringBuilder sb)
-
-
-
Constructor Detail
-
GenericAtomicActionWrapper
public GenericAtomicActionWrapper(BasicAction ba, UidWrapper w)
-
GenericAtomicActionWrapper
public GenericAtomicActionWrapper(String classType, UidWrapper w)
-
-
Method Detail
-
getAction
public BasicAction getAction()
- Specified by:
getActionin interfaceActionBeanWrapperInterface
-
activate
public boolean activate()
- Specified by:
activatein interfaceActionBeanWrapperInterface
-
doUpdateState
public void doUpdateState()
- Specified by:
doUpdateStatein interfaceActionBeanWrapperInterface
-
get_uid
public Uid get_uid()
- Specified by:
get_uidin interfaceActionBeanWrapperInterface
-
getUid
public Uid getUid(AbstractRecord rec)
- Specified by:
getUidin interfaceActionBeanWrapperInterface
-
toString
public StringBuilder toString(String prefix, StringBuilder sb)
- Specified by:
toStringin interfaceActionBeanWrapperInterface
-
clearHeuristicDecision
public void clearHeuristicDecision(int newDecision)
- Specified by:
clearHeuristicDecisionin interfaceActionBeanWrapperInterface
-
removeRecords
public boolean removeRecords(RecordList rl, LogRecordWrapper logRecordWrapper)
-
remove
public void remove(LogRecordWrapper logRecordWrapper)
- Specified by:
removein interfaceActionBeanWrapperInterface
-
getRecords
public RecordList getRecords(String ln)
-
getRecords
public RecordList getRecords(ParticipantStatus type)
- Specified by:
getRecordsin interfaceActionBeanWrapperInterface
-
-