Class 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

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • BaseStoreBean

        public BaseStoreBean​(BaseStore store)
    • Method Detail

      • 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
      • 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