com.arjuna.ats.arjuna.tools.osb.mbean
Class LogRecordWrapper

java.lang.Object
  extended by com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean
      extended by com.arjuna.ats.arjuna.tools.osb.mbean.LogRecordWrapper
All Implemented Interfaces:
LogRecordWrapperMBean, ObjStoreItemMBean, OSEntryBeanMBean

public class LogRecordWrapper
extends OSEntryBean
implements LogRecordWrapperMBean

An MBean implementation for representing a participant in an Atomic Action or transaction


Field Summary
protected  boolean activated
           
protected  ParticipantStatus listType
           
protected  String objName
           
protected  ActionBean parent
           
protected  AbstractRecord rec
           
 
Fields inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean
w
 
Constructor Summary
LogRecordWrapper(ActionBean parent, AbstractRecord rec, ParticipantStatus listType)
           
LogRecordWrapper(Uid uid)
           
 
Method Summary
 boolean activate()
           
 String callMethod(Object object, String mName)
           
 String clearHeuristic()
           
 String doSetStatus(String newState)
           
 ParticipantStatus getListType()
           
 String getName()
           
 AbstractRecord getRecord()
           
 String getStatus()
           
 String getType()
           
 void init(ActionBean parent, AbstractRecord rec, ParticipantStatus listType)
           
 boolean isHeuristic()
           
 boolean isParticipant()
           
 String setStatus(ParticipantStatus newState)
           
 void setStatus(String newState)
           
 StringBuilder toString(String prefix, StringBuilder sb)
           
 
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean
getId, getUid, getUid, register, register, type, unregister, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBeanMBean
getId
 

Field Detail

parent

protected ActionBean parent

rec

protected AbstractRecord rec

activated

protected boolean activated

listType

protected ParticipantStatus listType

objName

protected String objName
Constructor Detail

LogRecordWrapper

public LogRecordWrapper(Uid uid)

LogRecordWrapper

public LogRecordWrapper(ActionBean parent,
                        AbstractRecord rec,
                        ParticipantStatus listType)
Method Detail

init

public void init(ActionBean parent,
                 AbstractRecord rec,
                 ParticipantStatus listType)

getName

public String getName()
Overrides:
getName in class OSEntryBean

isParticipant

public boolean isParticipant()
Specified by:
isParticipant in interface LogRecordWrapperMBean

getStatus

public String getStatus()
Specified by:
getStatus in interface LogRecordWrapperMBean

setStatus

public void setStatus(String newState)
Specified by:
setStatus in interface LogRecordWrapperMBean

clearHeuristic

public String clearHeuristic()
Specified by:
clearHeuristic in interface LogRecordWrapperMBean

doSetStatus

public String doSetStatus(String newState)

setStatus

public String setStatus(ParticipantStatus newState)

getType

public String getType()
Specified by:
getType in interface LogRecordWrapperMBean
Specified by:
getType in interface OSEntryBeanMBean
Overrides:
getType in class OSEntryBean

getRecord

public AbstractRecord getRecord()

getListType

public ParticipantStatus getListType()

activate

public boolean activate()
Overrides:
activate in class OSEntryBean

toString

public StringBuilder toString(String prefix,
                              StringBuilder sb)
Overrides:
toString in class OSEntryBean

callMethod

public String callMethod(Object object,
                         String mName)

isHeuristic

public boolean isHeuristic()


Copyright © 2011. All Rights Reserved.