Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 90605 invoked from network); 19 Dec 2007 22:16:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2007 22:16:05 -0000 Received: (qmail 19926 invoked by uid 500); 19 Dec 2007 22:15:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 19883 invoked by uid 500); 19 Dec 2007 22:15:53 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 19872 invoked by uid 99); 19 Dec 2007 22:15:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 14:15:53 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 22:15:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 796C171428E for ; Wed, 19 Dec 2007 14:15:43 -0800 (PST) Message-ID: <26248017.1198102543494.JavaMail.jira@brutus> Date: Wed, 19 Dec 2007 14:15:43 -0800 (PST) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-3715) Expose NotificationBroadcasterSupport for JMX notifications In-Reply-To: <4528342.1198102303506.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.