com.arjuna.ats.arjuna.tools.osb.api.mbeans
Class BaseStoreBean
java.lang.Object
javax.management.NotificationBroadcasterSupport
com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
- All Implemented Interfaces:
- BaseStoreMBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
- Direct Known Subclasses:
- TxLogBean
public abstract class BaseStoreBean
- extends javax.management.NotificationBroadcasterSupport
- implements BaseStoreMBean
abstract MBean implementation of a BaseStore MBean
Method Summary |
protected abstract javax.management.ObjectName |
getMBeanName()
The object name that the MBean will be registered with the MBean Server |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
|
protected BaseStore |
getStore()
|
java.lang.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 |
BaseStoreBean
public BaseStoreBean(BaseStore store)
getStore
protected BaseStore getStore()
getMBeanName
protected abstract javax.management.ObjectName getMBeanName()
- The object name that the MBean will be registered with the MBean Server
- Returns:
- the MBeans object name
getStoreName
public java.lang.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 javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster
- Overrides:
getNotificationInfo
in class javax.management.NotificationBroadcasterSupport