Top Description Methods
org.springframework.jmx.export.notification

public Interface NotificationPublisherAware

extends Aware
Imports
org.springframework.beans.factory.Aware

Interface to be implemented by any Spring-managed resource that is to be registered with an javax.management.MBeanServer and wishes to send JMX javax.management.Notifications.

Provides Spring-created managed resources with a NotificationPublisher as soon as they are registered with the javax.management.MBeanServer.

Note

This interface only applies to simple Spring-managed beans which happen to get exported through Spring's org.springframework.jmx.export.MBeanExporter. It does not apply to any non-exported beans; neither does it apply to standard MBeans exported by Spring. For standard JMX MBeans, consider implementing the javax.management.modelmbean.ModelMBeanNotificationBroadcaster interface (or implementing a full javax.management.modelmbean.ModelMBean).

Authors
Rob Harrop, Chris Beams
Since
2.0
See Also
NotificationPublisher

Method Summary

Modifier and TypeMethod and Description
public void
setNotificationPublisher(NotificationPublisher notificationPublisher)

Set the NotificationPublisher instance for the current managed resource instance.

Method Detail

setNotificationPublisherback to summary
public void setNotificationPublisher(NotificationPublisher notificationPublisher)

Set the NotificationPublisher instance for the current managed resource instance.