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 anMBeanServer
and wishes to send JMXjavax.management.Notifications
.Provides Spring-created managed resources with a
NotificationPublisher
as 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 theModelMBeanNotificationBroadcaster
interface (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 void
setNotificationPublisher(NotificationPublisher notificationPublisher)
Set theNotificationPublisher
instance for the current managed resource instance.
Method Detail
setNotificationPublisher
void setNotificationPublisher(NotificationPublisher notificationPublisher)
Set theNotificationPublisher
instance for the current managed resource instance.