javax.management.MBeanServer .
Managed resources can access a NotificationPublisher by
implementing the NotificationPublisherAware interface. After a particular
managed resource instance is registered with the javax.,
Spring will inject a NotificationPublisher instance into it if that
resource implements the NotificationPublisherAware interface.
Each managed resource instance will have a distinct instance of a
NotificationPublisher implementation. This instance will keep
track of all the NotificationListeners
registered for a particular managed resource.
Any existing, user-defined MBeans should use standard JMX APIs for notification publication; this interface is intended for use only by Spring-created MBeans.
NotificationPublisherAware, org.springframework.jmx.export.MBeanExporter
| Modifier and Type | Method and Description |
|---|---|
| public void | sendNotification(Notification
the JMX Notification to send notification)Send the specified |
| sendNotification | back to summary |
|---|---|
| public void sendNotification(Notification notification) throws UnableToSendNotificationException Send the specified
| |