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

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
All Implemented Interfaces:
BaseStoreMBean, NotificationBroadcaster, NotificationEmitter
Direct Known Subclasses:
TxLogBean

public abstract class BaseStoreBean
extends NotificationBroadcasterSupport
implements BaseStoreMBean

abstract MBean implementation of a BaseStore MBean


Constructor Summary
BaseStoreBean(BaseStore store)
           
 
Method Summary
protected abstract  ObjectName getMBeanName()
          The object name that the MBean will be registered with the MBean Server
 MBeanNotificationInfo[] getNotificationInfo()
           
protected  BaseStore getStore()
           
 String getStoreName()
           
 void start()
          life cycle method for registering the MBean
 void stop()
          life cycle method for un-registering the MBean
 
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
 

Constructor Detail

BaseStoreBean

public BaseStoreBean(BaseStore store)
Method Detail

getStore

protected BaseStore getStore()

getMBeanName

protected abstract ObjectName getMBeanName()
The object name that the MBean will be registered with the MBean Server

Returns:
the MBeans object name

getStoreName

public String getStoreName()
Specified by:
getStoreName in interface BaseStoreMBean

start

public void start()
life cycle method for registering the MBean

Specified by:
start in interface BaseStoreMBean

stop

public void stop()
life cycle method for un-registering the MBean

Specified by:
stop in interface BaseStoreMBean

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface NotificationBroadcaster
Overrides:
getNotificationInfo in class NotificationBroadcasterSupport


Copyright © 2011. All Rights Reserved.