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] [Commented] (FELIX-5458) [R7] Improved ConfigurationPlugin Support
Date Wed, 21 Dec 2016 15:15:58 GMT

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

Carsten Ziegeler commented on FELIX-5458:
-----------------------------------------

As a first step, added the call to getProcessedProperties (getModifiedProperties has been
renamed) passing null to the plugin

> [R7] Improved ConfigurationPlugin Support
> -----------------------------------------
>
>                 Key: FELIX-5458
>                 URL: https://issues.apache.org/jira/browse/FELIX-5458
>             Project: Felix
>          Issue Type: Sub-task
>          Components: Declarative Services (SCR)
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: scr-2.1.0
>
>
> The DS spec will be updated to require SCR to obtain the configuration data from the
new Configuration.getModifiedProperties method. SCR must already use the component’s BundleContext
to obtain the configuration. The use the new getModifiedProperties method, SCR must supply
a ServiceReference for a ManagedService or ManagedServiceFactory. So SCR must register the
ManagedService or ManageServiceFactory service using the component’s BundleContext so the
ServiceReference for that service can be used as the argument for the getModifiedProperties
method. SCR should register these services without a service.pid service property if the SCR
implementation will obtain the Configuration object through other means such as a method on
the ConfigurationAdmin service so that the service is not called by ConfigurationAdmin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message