org.qi4j.library.jmx

## Class MBeanTracker.NotificationTracker

- java.lang.Object
- - org.qi4j.library.jmx.MBeanTracker.NotificationTracker

- All Implemented Interfaces:
    MBeanTracker.TrackerCallback
  Enclosing class:
    MBeanTracker

      public static class MBeanTracker.NotificationTracker
      extends Object
      implements MBeanTracker.TrackerCallback

  Registers the given NotificationListener+NotificationFilter on tracked MBeans.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MBeanTracker.NotificationTracker(NotificationListener listener, NotificationFilter filter)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addedMBean(ObjectName newMBean, MBeanServer server)`
    `void` | `removedMBean(ObjectName removedMBean, MBeanServer server)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MBeanTracker.NotificationTracker

          public MBeanTracker.NotificationTracker(NotificationListener listener,
                                          NotificationFilter filter)

  - ### Method Detail

    - #### addedMBean

          public void addedMBean(ObjectName newMBean,
                        MBeanServer server)
                          throws Throwable

      Specified by:
        `addedMBean` in interface `MBeanTracker.TrackerCallback`
      Throws:
        `Throwable`

    - #### removedMBean

          public void removedMBean(ObjectName removedMBean,
                          MBeanServer server)
                            throws Throwable

      Specified by:
        `removedMBean` in interface `MBeanTracker.TrackerCallback`
      Throws:
        `Throwable`