[
https://issues.apache.org/jira/browse/FELIX-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737528#action_12737528
]
Felix Meschberger commented on FELIX-1232:
------------------------------------------
Thanks for providing the patch. I think it may be simplified since we just have
a single use case for filtering: private properties with a leading dot.
In addition the getServiceProperties() internally calls copyTo with a null
target already thus creating a copy. Therefore the registerService method does
have to create another copy.
> Do not use private configuration properties as service properties
> -----------------------------------------------------------------
>
> Key: FELIX-1232
> URL: https://issues.apache.org/jira/browse/FELIX-1232
> Project: Felix
> Issue Type: New Feature
> Components: Declarative Services (SCR), Specification compliance
> Affects Versions: scr-1.0.8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: scr-1.2.0
>
> Attachments: FELIX-1232.patch
>
>
> R4.2 of the OSGi compendium spec will introduce the notion of private
> properties. Private properties are properties whose names have leading dots.
> Such private properties should not be propagated to service properties.
> See also 104.4.3, Property Propagation, in the draft R4.2 Compendium
> Specification (dated 2009/03/10).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.