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, NotificationBroadcaster, NotificationEmitter
- Direct Known Subclasses:
- TxLogBean
public abstract class BaseStoreBean
- extends NotificationBroadcasterSupport
- implements BaseStoreMBean
abstract MBean implementation of a BaseStore MBean
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 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.