com.arjuna.ats.arjuna.tools.osb.mbean
Class ActionBean.GenericAtomicActionWrapper

java.lang.Object
  extended by com.arjuna.ats.arjuna.tools.osb.mbean.ActionBean.GenericAtomicActionWrapper
All Implemented Interfaces:
ActionBeanWrapperInterface
Enclosing class:
ActionBean

public class ActionBean.GenericAtomicActionWrapper
extends java.lang.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
ActionBean.GenericAtomicActionWrapper(java.lang.String classType, UidWrapper w)
           
 
Method Summary
 boolean activate()
           
 void clearHeuristicDecision(int newDecision)
           
 void doUpdateState()
           
 Uid get_uid()
           
 BasicAction getAction()
           
 RecordList getRecords(ParticipantStatus type)
           
 RecordList getRecords(java.lang.String ln)
           
 Uid getUid(AbstractRecord rec)
           
 java.lang.StringBuilder toString(java.lang.String prefix, java.lang.StringBuilder sb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionBean.GenericAtomicActionWrapper

public ActionBean.GenericAtomicActionWrapper(java.lang.String classType,
                                             UidWrapper w)
Method Detail

getAction

public BasicAction getAction()
Specified by:
getAction in interface ActionBeanWrapperInterface

activate

public boolean activate()
Specified by:
activate in interface ActionBeanWrapperInterface

doUpdateState

public void doUpdateState()
Specified by:
doUpdateState in interface ActionBeanWrapperInterface

get_uid

public Uid get_uid()
Specified by:
get_uid in interface ActionBeanWrapperInterface

getUid

public Uid getUid(AbstractRecord rec)
Specified by:
getUid in interface ActionBeanWrapperInterface

toString

public java.lang.StringBuilder toString(java.lang.String prefix,
                                        java.lang.StringBuilder sb)
Specified by:
toString in interface ActionBeanWrapperInterface

clearHeuristicDecision

public void clearHeuristicDecision(int newDecision)
Specified by:
clearHeuristicDecision in interface ActionBeanWrapperInterface

getRecords

public RecordList getRecords(java.lang.String ln)

getRecords

public RecordList getRecords(ParticipantStatus type)
Specified by:
getRecords in interface ActionBeanWrapperInterface