## Uses of Interface
javax.management.NotificationListener

- Packages that use NotificationListener
  Package | Description
  --- | ---
  javax.management | Provides the core classes for the Java Management Extensions.
  javax.management.modelmbean | Provides the definition of the ModelMBean classes.
  javax.management.relation | Provides the definition of the Relation Service.
  javax.management.remote | Interfaces for remote access to JMX MBean servers.
  javax.management.remote.rmi | The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.

- - ### Uses of NotificationListener in javax.management

    Methods in javax.management with parameters of type NotificationListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | StandardEmitterMBean.`addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`
    `void` | NotificationBroadcasterSupport.`addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)` Adds a listener.
    `void` | NotificationBroadcaster.`addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)` Adds a listener to this MBean.
    `void` | MBeanServerDelegate.`addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`
    `void` | MBeanServerConnection.`addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)` Adds a listener to a registered MBean.
    `void` | MBeanServer.`addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)`
    `protected void` | NotificationBroadcasterSupport.`handleNotification(NotificationListener listener, Notification notif, Object handback)` This method is called by `sendNotification` for each listener in order to send the notification to that listener.
    `void` | StandardEmitterMBean.`removeNotificationListener(NotificationListener listener)`
    `void` | NotificationBroadcasterSupport.`removeNotificationListener(NotificationListener listener)`
    `void` | NotificationBroadcaster.`removeNotificationListener(NotificationListener listener)` Removes a listener from this MBean.
    `void` | MBeanServerDelegate.`removeNotificationListener(NotificationListener listener)`
    `void` | StandardEmitterMBean.`removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`
    `void` | NotificationEmitter.`removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)` Removes a listener from this MBean.
    `void` | NotificationBroadcasterSupport.`removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`
    `void` | MBeanServerDelegate.`removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`
    `void` | MBeanServerConnection.`removeNotificationListener(ObjectName name, NotificationListener listener)` Removes a listener from a registered MBean.
    `void` | MBeanServer.`removeNotificationListener(ObjectName name, NotificationListener listener)`
    `void` | MBeanServerConnection.`removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)` Removes a listener from a registered MBean.
    `void` | MBeanServer.`removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)`

  - ### Uses of NotificationListener in javax.management.modelmbean

    Methods in javax.management.modelmbean with parameters of type NotificationListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | RequiredModelMBean.`addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback)`
    `void` | ModelMBeanNotificationBroadcaster.`addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)` Registers an object which implements the NotificationListener interface as a listener.
    `void` | RequiredModelMBean.`addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)` Registers an object which implements the NotificationListener interface as a listener.
    `void` | RequiredModelMBean.`removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName)`
    `void` | ModelMBeanNotificationBroadcaster.`removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)` Removes a listener for attributeChangeNotifications from the RequiredModelMBean.
    `void` | RequiredModelMBean.`removeNotificationListener(NotificationListener listener)` Removes a listener for Notifications from the RequiredModelMBean.
    `void` | RequiredModelMBean.`removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`

  - ### Uses of NotificationListener in javax.management.relation

    Classes in javax.management.relation that implement NotificationListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RelationService` The Relation Service is in charge of creating and deleting relation types and relations, of handling the consistency and of providing query mechanisms.

  - ### Uses of NotificationListener in javax.management.remote

    Methods in javax.management.remote with parameters of type NotificationListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | JMXConnector.`addConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)` Adds a listener to be informed of changes in connection status.
    `void` | JMXConnector.`removeConnectionNotificationListener(NotificationListener listener)` Removes a listener from the list to be informed of changes in status.
    `void` | JMXConnector.`removeConnectionNotificationListener(NotificationListener l, NotificationFilter f, Object handback)` Removes a listener from the list to be informed of changes in status.

  - ### Uses of NotificationListener in javax.management.remote.rmi

    Methods in javax.management.remote.rmi with parameters of type NotificationListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | RMIConnector.`addConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`
    `void` | RMIConnector.`removeConnectionNotificationListener(NotificationListener listener)`
    `void` | RMIConnector.`removeConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)`

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.