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
,NotificationBroadcaster
,NotificationEmitter
implementation of the JMX interface to the JBossTS participant store
-
Constructor Summary
ConstructorDescriptionConstruct an MBean corresponding to the default participant store in this JVMConstruct an MBean corresponding to the given store -
Method Summary
Modifier and TypeMethodDescriptionboolean
commit_state
(Uid u, String tn) boolean
protected ObjectName
The object name that the MBean will be registered with the MBean Serverread_committed
(Uid u, String tn) read_uncommitted
(Uid u, String tn) boolean
remove_uncommitted
(Uid u, String tn) boolean
write_uncommitted
(Uid u, 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 Details
-
ParticipantStoreBean
public ParticipantStoreBean()Construct an MBean corresponding to the default participant store in this JVM -
ParticipantStoreBean
Construct an MBean corresponding to the given store- Parameters:
ps
- the ParticipantStore that is wrapped by this MBean
-
-
Method Details
-
getMBeanName
Description copied from class:BaseStoreBean
The object name that the MBean will be registered with the MBean Server- Specified by:
getMBeanName
in classTxLogBean
- Returns:
- the MBeans object name
-
commit_state
- Specified by:
commit_state
in interfaceParticipantStoreBeanMBean
- Throws:
ObjectStoreException
-
read_committed
- Specified by:
read_committed
in interfaceParticipantStoreBeanMBean
- Throws:
ObjectStoreException
-
read_uncommitted
- Specified by:
read_uncommitted
in interfaceParticipantStoreBeanMBean
- Throws:
ObjectStoreException
-
remove_uncommitted
- Specified by:
remove_uncommitted
in interfaceParticipantStoreBeanMBean
- Throws:
ObjectStoreException
-
write_uncommitted
public boolean write_uncommitted(Uid u, String tn, OutputObjectStateWrapper buff) throws ObjectStoreException - Specified by:
write_uncommitted
in interfaceParticipantStoreBeanMBean
- Throws:
ObjectStoreException
-
fullCommitNeeded
public boolean fullCommitNeeded()- Specified by:
fullCommitNeeded
in interfaceParticipantStoreBeanMBean
-