接口 NotificationPublisherAware
- 所有超级接口:
Aware
Interface to be implemented by any Framework-managed resource that is to be
registered with an
MBeanServer and wishes to send
JMX javax.management.Notifications.
Provides Framework-created managed resources with a NotificationPublisher
as soon as they are registered with the MBeanServer.
NOTE: This interface only applies to simple Framework-managed
beans which happen to get exported through Framework's
MBeanExporter.
It does not apply to any non-exported beans; neither does it apply
to standard MBeans exported by Framework. For standard JMX MBeans,
consider implementing the ModelMBeanNotificationBroadcaster
interface (or implementing a full ModelMBean).
- 从以下版本开始:
- 4.0
- 作者:
- Rob Harrop, Chris Beams
- 另请参阅:
-
方法概要
修饰符和类型方法说明voidsetNotificationPublisher(NotificationPublisher notificationPublisher) Set theNotificationPublisherinstance for the current managed resource instance.
-
方法详细资料
-
setNotificationPublisher
Set theNotificationPublisherinstance for the current managed resource instance.
-