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 2009/12/18 10:46:18 UTC

[jira] Created: (FELIX-1952) Factory configured ComponentFactory instances not reconfigured when configuration updated

Factory configured ComponentFactory instances not reconfigured when configuration updated
-----------------------------------------------------------------------------------------

                 Key: FELIX-1952
                 URL: https://issues.apache.org/jira/browse/FELIX-1952
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions:  scr-1.4.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For:  scr-1.4.2


As of FELIX-1942 instances created by ComponentFactory services are set up such that they are disposed off when being deactivated as required by the specification.

This fix now breaks the backwards compatibility functionality where the ComponentFactory service creates component instances using factory configuration.

The fix from FELIX-1942 should be adapted to only dispose off components created through ComponentFactory.newInstance but regularly cycle instances created for factory configurations.

Note, that this  behaviour is not specification compliant and thus spec compliant components are not susceptible to this issue.

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


[jira] Work started: (FELIX-1952) Factory configured ComponentFactory instances not reconfigured when configuration updated

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

Work on FELIX-1952 started by Felix Meschberger.

> Factory configured ComponentFactory instances not reconfigured when configuration updated
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-1952
>                 URL: https://issues.apache.org/jira/browse/FELIX-1952
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.4.2
>
>
> As of FELIX-1942 instances created by ComponentFactory services are set up such that they are disposed off when being deactivated as required by the specification.
> This fix now breaks the backwards compatibility functionality where the ComponentFactory service creates component instances using factory configuration.
> The fix from FELIX-1942 should be adapted to only dispose off components created through ComponentFactory.newInstance but regularly cycle instances created for factory configurations.
> Note, that this  behaviour is not specification compliant and thus spec compliant components are not susceptible to this issue.

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


[jira] Resolved: (FELIX-1952) Factory configured ComponentFactory instances not reconfigured when configuration updated

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

Felix Meschberger resolved FELIX-1952.
--------------------------------------

    Resolution: Fixed

Implemented a fix in Rev. 892241.

A ComponentFactory instance is now using different SATISFIED states:

   * FACTORY -- This is for the ComponentFactory itself
   * ACTIVE -- This is for (backwards compatible, non-standard) configuration factory induced instances
   * FACTORY_INSTANCE -- This is for instances created with ComponentFactory.newInstance
          This state is like ACTIVE (and advertises itself as active, too) but disposes off the
           component when it is being deactivated.

> Factory configured ComponentFactory instances not reconfigured when configuration updated
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-1952
>                 URL: https://issues.apache.org/jira/browse/FELIX-1952
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.4.2
>
>
> As of FELIX-1942 instances created by ComponentFactory services are set up such that they are disposed off when being deactivated as required by the specification.
> This fix now breaks the backwards compatibility functionality where the ComponentFactory service creates component instances using factory configuration.
> The fix from FELIX-1942 should be adapted to only dispose off components created through ComponentFactory.newInstance but regularly cycle instances created for factory configurations.
> Note, that this  behaviour is not specification compliant and thus spec compliant components are not susceptible to this issue.

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


[jira] Closed: (FELIX-1952) Factory configured ComponentFactory instances not reconfigured when configuration updated

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

Felix Meschberger closed FELIX-1952.
------------------------------------


Apache Felix Declarative Services 1.6.0 has been released. The issues are now closed.

> Factory configured ComponentFactory instances not reconfigured when configuration updated
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-1952
>                 URL: https://issues.apache.org/jira/browse/FELIX-1952
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.6.0
>
>
> As of FELIX-1942 instances created by ComponentFactory services are set up such that they are disposed off when being deactivated as required by the specification.
> This fix now breaks the backwards compatibility functionality where the ComponentFactory service creates component instances using factory configuration.
> The fix from FELIX-1942 should be adapted to only dispose off components created through ComponentFactory.newInstance but regularly cycle instances created for factory configurations.
> Note, that this  behaviour is not specification compliant and thus spec compliant components are not susceptible to this issue.

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