public interface NotificationPublisherAware extends Aware
Provides Spring-created managed resources with a NotificationPublisher
as soon as they are registered with the <code>MBeanServer</code>.
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 the <code>ModelMBeanNotificationBroadcaster</code>
interface (or implementing a full <code>ModelMBean</code>).
NotificationPublisher
Modifier and Type | Method and Description |
---|---|
void |
setNotificationPublisher(NotificationPublisher notificationPublisher)
Set the
NotificationPublisher instance for the current managed resource instance. |
void setNotificationPublisher(NotificationPublisher notificationPublisher)
NotificationPublisher
instance for the current managed resource instance.