Class BaseStoreBean
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- 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
Constructors Constructor Description BaseStoreBean(BaseStore store)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ObjectNamegetMBeanName()The object name that the MBean will be registered with the MBean ServerMBeanNotificationInfo[]getNotificationInfo()protected BaseStoregetStore()StringgetStoreName()voidstart()life cycle method for registering the MBeanvoidstop()life cycle method for un-registering the MBean-
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
-
-
-
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:
getStoreNamein interfaceBaseStoreMBean
-
start
public void start()
life cycle method for registering the MBean- Specified by:
startin interfaceBaseStoreMBean
-
stop
public void stop()
life cycle method for un-registering the MBean- Specified by:
stopin interfaceBaseStoreMBean
-
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfoin interfaceNotificationBroadcaster- Overrides:
getNotificationInfoin classNotificationBroadcasterSupport
-
-