You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2016/12/21 15:53:58 UTC

[jira] [Resolved] (FELIX-5458) [R7] Improved ConfigurationPlugin Support

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

Carsten Ziegeler resolved FELIX-5458.
-------------------------------------
    Resolution: Fixed

Registering managed service on behalf of the component bundle

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