Interface NotificationPublisherAware
- All Superinterfaces:
Aware
public interface NotificationPublisherAware extends Aware
Interface to be implemented by any Spring-managed resource that is to be registered with anMBeanServerand wishes to send JMXjavax.management.Notifications.Provides Spring-created managed resources with a
NotificationPublisheras soon as they are registered with theMBeanServer.NOTE: This interface only applies to simple Spring-managed beans which happen to get exported through Spring's
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 theModelMBeanNotificationBroadcasterinterface (or implementing a fullModelMBean).- Since:
- 2.0
- Author:
- Rob Harrop, Chris Beams
- See Also:
NotificationPublisher
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetNotificationPublisher(NotificationPublisher notificationPublisher)Set theNotificationPublisherinstance for the current managed resource instance.
Method Detail
setNotificationPublisher
void setNotificationPublisher(NotificationPublisher notificationPublisher)
Set theNotificationPublisherinstance for the current managed resource instance.