接口的使用
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 theModelMBean
interface to trackjavax.management.NotificationListeners
and sendNotifications
to those listeners.参数类型为NotificationPublisher的org.springframework.jmx.export.notification中的方法 修饰符和类型 方法 说明 void
NotificationPublisherAware. setNotificationPublisher(NotificationPublisher notificationPublisher)
Set theNotificationPublisher
instance for the current managed resource instance.