## 接口的使用
org.springframework.jmx.export.notification.NotificationPublisher

- 使用NotificationPublisher的程序包
  程序包 | 说明
  --- | ---
  org.springframework.jmx.export.notification | Provides supporting infrastructure to allow Spring-created MBeans to send JMX notifications.

- - ### org.springframework.jmx.export.notification中NotificationPublisher的使用

    实现NotificationPublisher的org.springframework.jmx.export.notification中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ModelMBeanNotificationPublisher` `NotificationPublisher` implementation that uses the infrastructure provided by the `ModelMBean` interface to track `javax.management.NotificationListeners` and send `Notifications` to those listeners.

    参数类型为NotificationPublisher的org.springframework.jmx.export.notification中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | NotificationPublisherAware.`setNotificationPublisher(NotificationPublisher notificationPublisher)` Set the `NotificationPublisher` instance for the current managed resource instance.