You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/10/28 15:33:12 UTC

[jira] [Commented] (FELIX-3732) service.pid properties of ManagedServiceFactory services must be used as factory PIDs

    [ https://issues.apache.org/jira/browse/FELIX-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485631#comment-13485631 ] 

Felix Meschberger commented on FELIX-3732:
------------------------------------------

In Rev. 1402997 removed support for the service.factoryPid service property.

This support has been introduced in the initial commit to implement the MetaType Service in Rev. 527597 (for FELIX-20) under wrong assumptions. Since the factory PIDs are actually the service.pid properties of the ManagedServiceFactory services this support for service.factoryPid properties must be removed.
                
> service.pid properties of ManagedServiceFactory services must be used as factory PIDs
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3732
>                 URL: https://issues.apache.org/jira/browse/FELIX-3732
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service, Specification compliance
>    Affects Versions: metatype-1.0.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  metatype-1.0.6
>
>
> If a ManagedServiceFactory service is registered which implements the MetaTypeProvider interface the service.pid property value(s) of the service are used to augement the providing bundle's MetaTypeInformation.
> In the case of ManagedServiceFactory services the service.pid property must be used as factory PIDs where currently they are used as singleton service PIDs.
> This may create confusion and in fact also breaks OSGi CT tests.

--
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