Class ActionBean
java.lang.Object
com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean
com.arjuna.ats.arjuna.tools.osb.mbean.ActionBean
- All Implemented Interfaces:
ActionBeanMBean,ObjStoreItemMBean,OSEntryBeanMBean
Deprecated.
as of 5.0.5.Final In a subsequent release we will change packages names in order to
provide a better separation between public and internal classes.
MBean implementation of an ObjectStore entry that represents an AtomicAction
- Author:
- Mike Musgrove
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.The ActionBean needs access to the participant lists maintained by an AtomicAction but these lists are protected. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ActionBeanWrapperInterfaceDeprecated.protected List<UidWrapper> Deprecated.Fields inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean
_uidWrapper, REMOVE_NOK_1, REMOVE_OK_1 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LogRecordWrappercreateParticipant(AbstractRecord rec, ParticipantStatus listType) Deprecated.Extension point for other Bean implementations to provide an implementation bean for its participants.protected LogRecordWrappercreateParticipant(AbstractRecord rec, ParticipantStatus listType, UidWrapper wrapper) Deprecated.protected ActionBeanWrapperInterfacecreateWrapper(UidWrapper w, boolean activate) Deprecated.longDeprecated.Deprecated.Deprecated.See if there is participant Bean corresponding to the given recordDeprecated.getUid(AbstractRecord rec) Deprecated.return the Uid for given AbstractRecordbooleanDeprecated.voidregister()Deprecated.register this bean (and its participants) with the MBeanServerremove()Deprecated.Remove this AtomicAction from the ObjectStorevoidremove(LogRecordWrapper logRecordWrapper) Deprecated.remove the a participantbooleansetStatus(LogRecordWrapper logrec, ParticipantStatus newStatus) Deprecated.Request a change in status of a participant.toString(String prefix, StringBuilder sb) Deprecated.voidDeprecated.unregister this bean (and its participants) with the MBeanServerMethods inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBean
activate, doRemove, getId, getName, getType, getUid, register, remove, type, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.arjuna.ats.arjuna.tools.osb.mbean.OSEntryBeanMBean
getId, getType
-
Field Details
-
ra
Deprecated. -
recuids
Deprecated.
-
-
Constructor Details
-
ActionBean
Deprecated.
-
-
Method Details
-
createWrapper
Deprecated. -
toString
Deprecated.- Overrides:
toStringin classOSEntryBean
-
getUid
Deprecated.return the Uid for given AbstractRecord- Overrides:
getUidin classOSEntryBean- Parameters:
rec- the record whose Uid is required- Returns:
- the Uid of the requested record
-
remove
Deprecated.Remove this AtomicAction from the ObjectStore- Specified by:
removein interfaceActionBeanMBean- Specified by:
removein interfaceOSEntryBeanMBean- Overrides:
removein classOSEntryBean- Returns:
- a textual indication of whether the remove operation succeeded
- Throws:
MBeanException
-
createParticipant
Deprecated.Extension point for other Bean implementations to provide an implementation bean for its participants. For example @see com.arjuna.ats.internal.jta.tools.osb.mbean.jta.JTAActionBean- Parameters:
rec- the record that should be represented by an MBeanlistType- the status of the record- Returns:
- the MBean implementation of the participant
-
createParticipant
protected LogRecordWrapper createParticipant(AbstractRecord rec, ParticipantStatus listType, UidWrapper wrapper) Deprecated. -
getParticipant
Deprecated.See if there is participant Bean corresponding to the given record- Parameters:
rec- the record for the target participant- Returns:
- the bean corresponding to the requested record
-
register
public void register()Deprecated.register this bean (and its participants) with the MBeanServer- Overrides:
registerin classOSEntryBean
-
unregister
public void unregister()Deprecated.unregister this bean (and its participants) with the MBeanServer- Overrides:
unregisterin classOSEntryBean
-
getAgeInSeconds
public long getAgeInSeconds()Deprecated.- Specified by:
getAgeInSecondsin interfaceActionBeanMBean
-
getCreationTime
Deprecated.- Specified by:
getCreationTimein interfaceActionBeanMBean
-
isParticipant
public boolean isParticipant()Deprecated.- Specified by:
isParticipantin interfaceActionBeanMBean
-
setStatus
Deprecated.Request a change in status of a participant. For example if a record has a heuristic status then this method could be used to move it back into the prepared state so that the recovery system can replay phase 2 of the commitment protocol- Parameters:
logrec- the record whose status is to be changednewStatus- the desired status- Returns:
- true if the status was changed
-
getParticipants
Deprecated.- Returns:
- the MBeans corresponding to the participants within this action
-
remove
Deprecated.remove the a participant- Parameters:
logRecordWrapper- the wrapped log record
-