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

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

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


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.


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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-334.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

After deploying a new snapshot of the ConfigAdmin, I close this.

> 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
>             Fix For: 1.0.0
>
>
> 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.


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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned FELIX-334:
---------------------------------------

    Assignee: Felix Meschberger

> 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.


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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ 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.