felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4951) [DS][RFC-190] Correct pid handling
Date Tue, 07 Jul 2015 00:49:04 GMT

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

Carsten Ziegeler resolved FELIX-4951.
    Resolution: Fixed

Fixed the second issue in rev 1689540

> [DS][RFC-190] Correct pid handling
> ----------------------------------
>                 Key: FELIX-4951
>                 URL: https://issues.apache.org/jira/browse/FELIX-4951
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: scr-2.0.0
> The DS 1.3 spec requires multiple service.pid values to be coalesced into a Collection<String>
but only if there are multiple values. When there is only a single service.pid value, it must
remain a scalar String. 
> Furthermore, DS 1.3 adds support for a component to specify multiple pid values in a
whitespace separated list. See section 112.4.4:
> "Multiple configuration PIDs can be specified by using a whitespace separated list in
the attribute."
> For example:
> configuration-pid="org.osgi.test.cases.component.tb23.MultiplePID1 org.osgi.test.cases.component.tb23.MultiplePID2"
> When specifying multiple pids (with configuration-policy="require" and the configurations
present in CM), the current implementation does not satisfy the component. So the component
is not activated and does not register its service.

This message was sent by Atlassian JIRA

View raw message