You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2013/02/01 17:24:13 UTC

[jira] [Resolved] (FELIX-3869) Fragment support for DependencyManager-Component

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

Pierre De Rop resolved FELIX-3869.
----------------------------------

    Resolution: Fixed
    
> Fragment support for DependencyManager-Component
> ------------------------------------------------
>
>                 Key: FELIX-3869
>                 URL: https://issues.apache.org/jira/browse/FELIX-3869
>             Project: Felix
>          Issue Type: Improvement
>          Components: Dependency Manager
>            Reporter: Tuomas Kiviaho
>            Assignee: Pierre De Rop
>         Attachments: Activator.patch, DependencyManagerRuntime.patch
>
>
> I've a use case where fragment support would be most welcome when declaring dependencies.
> I propose that the 'DependencyManager-Component' header would cover fragments just like 'Service-Component' header does as per OSGI spec 112.4.1 Service Component Header. This is quite easily implemented when BundleWiring is supported although it would require shifting compilation to version 1.6. Current 1.5 version could use PackageAdmin.
> ***
> A Service-Component manifest header specified in a fragment is ignored by 
> SCR. However, XML documents referenced by a bundle’s Service-Component manifest header may be contained in attached fragments. 
> SCR must process each XML document specified in this header. If an XML 
> document specified by the header cannot be located in the bundle and its 
> attached fragments, SCR must log an error message with the Log Service, if 
> present, and continue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira