Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 86128 invoked from network); 10 Nov 2009 19:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 19:05:51 -0000 Received: (qmail 47999 invoked by uid 500); 10 Nov 2009 19:05:51 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 47923 invoked by uid 500); 10 Nov 2009 19:05:51 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 47913 invoked by uid 99); 10 Nov 2009 19:05:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 19:05:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 19:05:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1FCAC234C4AF for ; Tue, 10 Nov 2009 11:05:28 -0800 (PST) Message-ID: <1873576376.1257879928128.JavaMail.jira@brutus> Date: Tue, 10 Nov 2009 19:05:28 +0000 (UTC) From: "Eoghan Glynn (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-1848) Include instance name in the JMX ObjectName for AdminService and FeaturesService MBeans In-Reply-To: <1924976712.1257436412598.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eoghan Glynn updated FELIX-1848: -------------------------------- Attachment: felix_1848.patch Can some committer review the attached patch and apply if kosher? BTW the reason I didn't take the obvious approach and use the PropertyPlaceholderConfigurer instead of manually sub'ing the system property into the JMX ObjectName, was to avoid pulling spring into the boot features. > Include instance name in the JMX ObjectName for AdminService and FeaturesService MBeans > --------------------------------------------------------------------------------------- > > Key: FELIX-1848 > URL: https://issues.apache.org/jira/browse/FELIX-1848 > Project: Felix > Issue Type: Task > Components: Karaf > Affects Versions: karaf-1.0.2 > Reporter: Eoghan Glynn > Fix For: karaf-1.2.0 > > Attachments: felix_1848.patch > > > Currently its awkward to map from the ObjectName of the AdminService & FeaturesService MBeans to the hosting instance name. > This information should be embedded in the ObjectNames, so for example "org.apache.felix.karaf:service=admin" should be replaced by "org.apache.felix.karaf:type=admin,name=" where is the current instance name (or "root" for a non-child instance). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.