You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/08/06 11:05:59 UTC

[jira] Commented: (FELIX-334) Missing callbacks for Configuration plugins

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

Felix Meschberger commented on FELIX-334:
-----------------------------------------

The problem, as correctly stated, is that the updated configuration is not passed by the plugins before handing them over to the ManagedService(Factory).

In addition I fixed a minor issue, where a factory configuration instance might have been created if listed as being part of the factory but not actually existing anymore. This should not happen, instead a message should be logged and the respective PID be removed from the factory list.

Fixed in Rev. 563070

> Missing callbacks for Configuration plugins
> -------------------------------------------
>
>                 Key: FELIX-334
>                 URL: https://issues.apache.org/jira/browse/FELIX-334
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Tom Remoleur
>            Assignee: Felix Meschberger
>
> The modifyConfiguration method in configuration plugin class is not called for each configuration update, after look in the code, in ConfigurationManager class there is 3 differents tasks named ManagedServiceUpdate, ManagedServiceFactoryUpdate and UpdateConfiguration, in the first two before calling update method on service, the plugin modifyConfiguration method is called but not in the last task.

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