com.arjuna.ats.arjuna.tools.osb.api.mbeans
Class TxLogBean

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
          extended by 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


Constructor Summary
TxLogBean(TxLog store)
           
 
Method Summary
protected abstract  ObjectName getMBeanName()
          The object name that the MBean will be registered with the MBean Server
protected  TxLog getStore()
           
 boolean remove_committed(Uid u, String tn)
           
 void sync()
           
 boolean write_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:
getStore in class BaseStoreBean

getMBeanName

protected abstract ObjectName getMBeanName()
Description copied from class: BaseStoreBean
The object name that the MBean will be registered with the MBean Server

Specified by:
getMBeanName in class BaseStoreBean
Returns:
the MBeans object name

sync

public void sync()
          throws SyncFailedException,
                 ObjectStoreException
Specified by:
sync in interface TxLogBeanMBean
Throws:
SyncFailedException
ObjectStoreException

write_committed

public boolean write_committed(Uid u,
                               String tn,
                               OutputObjectStateWrapper buff)
                        throws ObjectStoreException
Specified by:
write_committed in interface TxLogBeanMBean
Throws:
ObjectStoreException

remove_committed

public boolean remove_committed(Uid u,
                                String tn)
                         throws ObjectStoreException
Specified by:
remove_committed in interface TxLogBeanMBean
Throws:
ObjectStoreException


Copyright © 2011. All Rights Reserved.