Class ParticipantStoreBean
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBean
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.ParticipantStoreBean
-
- All Implemented Interfaces:
BaseStoreMBean,ParticipantStoreBeanMBean,TxLogBeanMBean,javax.management.NotificationBroadcaster,javax.management.NotificationEmitter
public class ParticipantStoreBean extends TxLogBean implements ParticipantStoreBeanMBean
implementation of the JMX interface to the JBossTS participant store
-
-
Constructor Summary
Constructors Constructor Description ParticipantStoreBean()Construct an MBean corresponding to the default participant store in this JVMParticipantStoreBean(ParticipantStore ps)Construct an MBean corresponding to the given store
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancommit_state(Uid u, java.lang.String tn)booleanfullCommitNeeded()protected javax.management.ObjectNamegetMBeanName()The object name that the MBean will be registered with the MBean ServerObjectStateWrapperread_committed(Uid u, java.lang.String tn)ObjectStateWrapperread_uncommitted(Uid u, java.lang.String tn)booleanremove_uncommitted(Uid u, java.lang.String tn)booleanwrite_uncommitted(Uid u, java.lang.String tn, OutputObjectStateWrapper buff)-
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBean
getStore, remove_committed, sync, write_committed
-
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
getNotificationInfo, getStoreName, start, stop
-
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
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.api.mbeans.BaseStoreMBean
getStoreName, start, stop
-
Methods inherited from interface com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBeanMBean
remove_committed, sync, write_committed
-
-
-
-
Constructor Detail
-
ParticipantStoreBean
public ParticipantStoreBean()
Construct an MBean corresponding to the default participant store in this JVM
-
ParticipantStoreBean
public ParticipantStoreBean(ParticipantStore ps)
Construct an MBean corresponding to the given store- Parameters:
ps- the ParticipantStore that is wrapped by this MBean
-
-
Method Detail
-
getMBeanName
protected javax.management.ObjectName getMBeanName()
Description copied from class:BaseStoreBeanThe object name that the MBean will be registered with the MBean Server- Specified by:
getMBeanNamein classTxLogBean- Returns:
- the MBeans object name
-
commit_state
public boolean commit_state(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
commit_statein interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
read_committed
public ObjectStateWrapper read_committed(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
read_committedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
read_uncommitted
public ObjectStateWrapper read_uncommitted(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
read_uncommittedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
remove_uncommitted
public boolean remove_uncommitted(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
remove_uncommittedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
write_uncommitted
public boolean write_uncommitted(Uid u, java.lang.String tn, OutputObjectStateWrapper buff) throws ObjectStoreException
- Specified by:
write_uncommittedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
fullCommitNeeded
public boolean fullCommitNeeded()
- Specified by:
fullCommitNeededin interfaceParticipantStoreBeanMBean
-
-