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, sendNotificationpublic BaseStoreBean(BaseStore store)
protected BaseStore getStore()
protected abstract ObjectName getMBeanName()
public String getStoreName()
getStoreName in interface BaseStoreMBeanpublic void start()
start in interface BaseStoreMBeanpublic void stop()
stop in interface BaseStoreMBeanpublic MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcastergetNotificationInfo in class NotificationBroadcasterSupportCopyright © 2013. All Rights Reserved.