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

Felix Meschberger closed FELIX-646.
-----------------------------------


Clsoing after deployment of new SNAPSHOT version 1.0.3-20080725.120933-2.

> Reconfiguration of factory components is not possible
> -----------------------------------------------------
>
>                 Key: FELIX-646
>                 URL: https://issues.apache.org/jira/browse/FELIX-646
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.0.4
>
>
> Instances of factory components may be created by calling the 
> ComponentFactory.newInstance() method or by creating configuration objects 
> whose factoryPID is set to the factory name of the ComponentFactory. When 
> calling the ComponentFactory.newInstance() method, a Dictionary object may be 
> given containing configuration data for the new instance. This configuration 
> data overwrites and configuration admin provided or default configuration 
> (from the descriptor).
> Currently when creating a component instance by creating a configuration 
> object, the component is created with its factory configuration set as if the 
> newInstance() method is called. Changing the original configuration supplies 
> the new configuration to the component instance. But because the initial 
> configuration is treated as the factory configuration, the initial 
> configuration can never be replaced.
> To fix this, component instances created as per configuration objects should 
> not be created with the initial configuration as its factory configuration.

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

Reply via email to