Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85269F980 for ; Thu, 13 Nov 2014 09:40:34 +0000 (UTC) Received: (qmail 97618 invoked by uid 500); 13 Nov 2014 09:40:34 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 97538 invoked by uid 500); 13 Nov 2014 09:40:34 -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 97522 invoked by uid 99); 13 Nov 2014 09:40:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 09:40:34 +0000 Date: Thu, 13 Nov 2014 09:40:34 +0000 (UTC) From: "Tuomas Kiviaho (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4694) Support binding configuration to all registrations with the corresponding PID MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tuomas Kiviaho created FELIX-4694: ------------------------------------- Summary: Support binding configuration to all registrations with the corresponding PID Key: FELIX-4694 URL: https://issues.apache.org/jira/browse/FELIX-4694 Project: Felix Issue Type: Improvement Reporter: Tuomas Kiviaho Currently configurations are created without specifying bundle location so there is no way to share configuration using fileinstall. {{getConfiguration}} states that {code} * ... If the * location parameter is {@code null}, it will be set when a Managed Service * with the corresponding PID is registered for the first time. If the * location starts with {@code ?} then the configuration is bound to all * targets that are registered with the corresponding PID. {code} Now I'm forced to tweak the {{felix.cm.dir}} directly which is quite error prone approach. I'd be satisfied event with a global boolean flag which would enable the sharing, but I guess a more appropriate choice would be to do it per cfg. Another idea would be to mimic {{felix.cm.dir}} behavior so that various {{service.}} prefixed properties (not just {{service.bundleLocation}}) would be removed from the dictionary itself and be used only when communicating with {{ConfigurationAdmin}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)