com.arjuna.ats.arjuna.tools.osb.mbean
Class LogRecordWrapper
java.lang.Object
com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean
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
Fields inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean |
w |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected ActionBean parent
rec
protected AbstractRecord rec
activated
protected boolean activated
listType
protected ParticipantStatus listType
objName
protected String objName
LogRecordWrapper
public LogRecordWrapper(Uid uid)
LogRecordWrapper
public LogRecordWrapper(ActionBean parent,
AbstractRecord rec,
ParticipantStatus listType)
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.