[
https://issues.apache.org/jira/browse/GERONIMO-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor updated GERONIMO-3715:
----------------------------------
Attachment: GERONIMO-3715.patch
Attached is a proposed patch.
A GBean could get hold of the right NotificationBroadcasterSupport by doing
something like (assuming it has a reference to kernel instance):
MBeanServerKernelBridge bridge =
(MBeanServerKernelBridge)kernel.getGBean(MBeanServerKernelBridge.class);
NotificationBroadcasterSupport notificationBroadcaster =
bridge.getNotificationBroadcasterSupport(<.name>);
notificationBroadcaster sendNotification(new Notification(...));
> Expose NotificationBroadcasterSupport for JMX notifications
> -----------------------------------------------------------
>
> Key: GERONIMO-3715
> URL: https://issues.apache.org/jira/browse/GERONIMO-3715
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: kernel
> Affects Versions: 2.1
> Reporter: Jarek Gawor
> Attachments: GERONIMO-3715.patch
>
>
> The NotificationBroadcasterSupport instance of MBeanGBeanBridge is not
> exposed and therefore it is not possible for a GBean to fire arbitrary
> notifications.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.