public abstract class BaseStoreBean extends NotificationBroadcasterSupport implements BaseStoreMBean
Constructor and Description |
---|
BaseStoreBean(BaseStore store) |
Modifier and Type | Method and Description |
---|---|
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
|
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
public BaseStoreBean(BaseStore store)
protected BaseStore getStore()
protected abstract ObjectName getMBeanName()
public String getStoreName()
getStoreName
in interface BaseStoreMBean
public void start()
start
in interface BaseStoreMBean
public void stop()
stop
in interface BaseStoreMBean
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
getNotificationInfo
in class NotificationBroadcasterSupport
Copyright © 2013. All Rights Reserved.