Uses of Interface javax.management.NotificationListener (Java SE 13 & JDK 13 )
Description: use: module: java.management, package: javax.management, interface: NotificationListener

# 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.

- ## Uses of NotificationListener in javax.management

  Methods in javax.management with parameters of type NotificationListener
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | MBeanServer.`addNotificationListener​(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)` | Adds a listener to a registered MBean.
  `void` | MBeanServerConnection.`addNotificationListener​(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)` | Adds a listener to a registered MBean.
  `void` | NotificationBroadcaster.`addNotificationListener​(NotificationListener listener, NotificationFilter filter, Object handback)` | Adds a listener to this MBean.
  `void` | NotificationBroadcasterSupport.`addNotificationListener​(NotificationListener listener, NotificationFilter filter, Object handback)` | Adds a listener.
  `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` | MBeanServerConnection.`removeNotificationListener​(ObjectName name, NotificationListener listener)` | Removes a listener from a registered MBean.
  `void` | MBeanServerConnection.`removeNotificationListener​(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)` | Removes a listener from a registered MBean.
  `void` | NotificationBroadcaster.`removeNotificationListener​(NotificationListener listener)` | Removes a listener from this MBean.
  `void` | NotificationEmitter.`removeNotificationListener​(NotificationListener listener, NotificationFilter filter, Object handback)` | Removes a listener from this MBean.

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

  Methods in javax.management.modelmbean with parameters of type NotificationListener
  Modifier and Type | Method | Description
  --- | --- | ---
  `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` | 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.

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

  Classes in javax.management.relation that implement NotificationListener
  Modifier and Type | Class | 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 | 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.