You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/12/19 23:11:43 UTC

[jira] Created: (GERONIMO-3715) Expose NotificationBroadcasterSupport for JMX notifications

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


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.


[jira] Resolved: (GERONIMO-3715) Expose NotificationBroadcasterSupport for JMX notifications

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-3715.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1
         Assignee: Jarek Gawor

Committed the patch to trunk (revision 606967).


> 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
>            Assignee: Jarek Gawor
>             Fix For: 2.1
>
>         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.


[jira] Updated: (GERONIMO-3715) Expose NotificationBroadcasterSupport for JMX notifications

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ 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.