geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-3715) Expose NotificationBroadcasterSupport for JMX notifications
Date Wed, 19 Dec 2007 22:15:43 GMT

     [ 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.


Mime
View raw message