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 13B1410C6C for ; Sat, 1 Feb 2014 14:20:20 +0000 (UTC) Received: (qmail 73851 invoked by uid 500); 1 Feb 2014 14:20:18 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 73445 invoked by uid 500); 1 Feb 2014 14:20:12 -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 73356 invoked by uid 99); 1 Feb 2014 14:20:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 14:20:09 +0000 Date: Sat, 1 Feb 2014 14:20:08 +0000 (UTC) From: "Alex Blewitt (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4412) Add Provide-Capability for declarative services bundle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alex Blewitt created FELIX-4412: ----------------------------------- Summary: Add Provide-Capability for declarative services bundle Key: FELIX-4412 URL: https://issues.apache.org/jira/browse/FELIX-4412 Project: Felix Issue Type: Bug Components: Declarative Services (SCR) Reporter: Alex Blewitt Priority: Minor To allow bundles to declare that they need declarative services, a Provide-Capability should be defined on the DS bundle such that clients can depend on it, for example: Provide-Capability: osgi.extender;osgi.extender="osgi.service.component";version:=1.1.0 This would allow clients to require that there be a Declarative Services bundle without actually declaring a package dependency: Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.service.component")(version>1.0.0))" The name of the declarative services component isn't well defined but osgi.service.component or osgi.declarative.services might be used. -- This message was sent by Atlassian JIRA (v6.1.5#6160)