[
https://issues.apache.org/jira/browse/FELIX-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889293#comment-13889293
]
Felix Meschberger commented on FELIX-4412:
------------------------------------------
As BJ Hargrave wrote in the Eclipse bug, the extender will be defined as part
of the DS update. See
https://github.com/osgi/design/blob/master/rfcs/rfc0190/rfc-0190-Declarative_Services_Enhancements.pdf
for the current state, particularly section 5.5.
I would suggest to wait with implementing this Capability until the RFC is
finalized.
> 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), Specification compliance
> Affects Versions: scr-1.8.0
> 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)