Class TxLogBean
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBean
-
- All Implemented Interfaces:
BaseStoreMBean,TxLogBeanMBean,NotificationBroadcaster,NotificationEmitter
- Direct Known Subclasses:
ParticipantStoreBean,RecoveryStoreBean
public abstract class TxLogBean extends BaseStoreBean implements TxLogBeanMBean
abstract implementation of the TxLog MBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ObjectNamegetMBeanName()The object name that the MBean will be registered with the MBean Serverprotected TxLoggetStore()booleanremove_committed(Uid u, String tn)voidsync()booleanwrite_committed(Uid u, String tn, OutputObjectStateWrapper buff)-
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
-
-
-
-
Constructor Detail
-
TxLogBean
public TxLogBean(TxLog store)
-
-
Method Detail
-
getStore
protected TxLog getStore()
- Overrides:
getStorein classBaseStoreBean
-
getMBeanName
protected abstract ObjectName getMBeanName()
Description copied from class:BaseStoreBeanThe object name that the MBean will be registered with the MBean Server- Specified by:
getMBeanNamein classBaseStoreBean- Returns:
- the MBeans object name
-
sync
public void sync() throws SyncFailedException, ObjectStoreException- Specified by:
syncin interfaceTxLogBeanMBean- Throws:
SyncFailedExceptionObjectStoreException
-
write_committed
public boolean write_committed(Uid u, String tn, OutputObjectStateWrapper buff) throws ObjectStoreException
- Specified by:
write_committedin interfaceTxLogBeanMBean- Throws:
ObjectStoreException
-
remove_committed
public boolean remove_committed(Uid u, String tn) throws ObjectStoreException
- Specified by:
remove_committedin interfaceTxLogBeanMBean- Throws:
ObjectStoreException
-
-