felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-374) Register ManagedService on behalf of components to receive Configuration
Date Mon, 01 Oct 2007 14:14:50 GMT

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

Felix Meschberger resolved FELIX-374.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

The ImmediateComponentManager now registers as ManagedService (if not created on behalf of
a ComponentFactory) to receive Configuration Admin configuration.

Fixed in Rev. 580883

> Register ManagedService on behalf of components to receive Configuration
> ------------------------------------------------------------------------
>
>                 Key: FELIX-374
>                 URL: https://issues.apache.org/jira/browse/FELIX-374
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.0.0
>
>
> Currently the SCR calls the ConfigurationAdmin.getConfiguration(servicePid) method on
behalf of components to retrieve configuration. If no such configuration exists, this call
causes the creation of such configuration which is empty and may never ever be updated in
case the component is not prepared to take Configuration from the Configuration Admin (perhaps
there is nothing configurable in the component).
> The SCR should instead register a ManagedService on behalf of the component to receive
configuration from the Configuration Admin as configuration becomes available. A good side
effect of this is, that configuration provided to the component in this way has always passed
the Configuration Admin plugins, which is not the case currently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message