felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre De Rop (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4676) Add Provide-Capability for DependencyManager Runtime bundle
Date Tue, 21 Oct 2014 22:59:33 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Pierre De Rop resolved FELIX-4676.
    Resolution: Fixed

committed patch in rv 1633482.

> Add Provide-Capability for DependencyManager Runtime bundle
> -----------------------------------------------------------
>                 Key: FELIX-4676
>                 URL: https://issues.apache.org/jira/browse/FELIX-4676
>             Project: Felix
>          Issue Type: Wish
>          Components: Dependency Manager
>    Affects Versions: dependencymanager.annotations-3.2.0, dependencymanager.runtime-3.2.0
>            Reporter: Pierre De Rop
>            Assignee: Pierre De Rop
>            Priority: Minor
>             Fix For: dependencymanager.annotations-4.0.0, dependencymanager.runtime-4.0.0
> The DependencyManager Runtime should declare the following Provide-Capability header:
> {code}
> Provide-Capability: osgi.extender; osgi.extender="org.apache.felix.dependencymanager.runtime";\
> 	uses:="org.apache.felix.dm";version:Version="4.0.0"
> {code}
> And the DependencyManager Annotations Bnd Plugin should generate the following Require-Capability
> {code}
> Require-Capability: osgi.extender; filter:="(&(osgi.extender=org.apache.felix.dependencymanager.runtime)(version>=4.0.0))"
> {code}
> This allows to ensure that a DM Runtime is resolved from an OBR when a DM annoted bundle
is deployed.
> A new "add-require-capability" bndplugin option should be added in order to turn on/off
the generation of the  Require-Capability header with default value=true.
> Also, the Import-Service/Export-Service headers should not be generated by default anymore
by the DM bndplugin, because these headers are deprecated. 

This message was sent by Atlassian JIRA

View raw message