| java.lang.Object | |
| ↳ | org.springframework.jmx.export.notification.ModelMBeanNotificationPublisher |
NotificationPublisher implementation that uses the infrastructure
provided by the ModelMBean interface to track
javax.management.NotificationListener javax.management.NotificationListeners
and send Notification Notifications to those listeners.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new instance of the
ModelMBeanNotificationPublisher class
that will publish all Notifications
to the supplied ModelMBean. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Send the supplied
Notification using the wrapped
ModelMBean instance. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.jmx.export.notification.NotificationPublisher
| |||||||||||
Create a new instance of the ModelMBeanNotificationPublisher class
that will publish all Notifications
to the supplied ModelMBean.
| modelMBean | the target ModelMBean; must not be null |
|---|---|
| objectName | the ObjectName of the source ModelMBean |
| managedResource | the managed resource exposed by the supplied ModelMBean |
| IllegalArgumentException | if any of the parameters is null
|
|---|
Send the supplied Notification using the wrapped
ModelMBean instance.
| notification | the Notification to be sent |
|---|
| IllegalArgumentException | if the supplied notification is null |
|---|---|
| UnableToSendNotificationException | if the supplied notification could not be sent
|