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 2012/10/31 20:00:13 UTC

[jira] [Updated] (FELIX-3559) [DS] first register immediate components' service, then create the implementation object per spec

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

Felix Meschberger updated FELIX-3559:
-------------------------------------

    Fix Version/s:     (was: scr-1.8.0)
                   scr-1.6.2
    
> [DS] first register immediate components' service, then create the implementation object per spec
> -------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3559
>                 URL: https://issues.apache.org/jira/browse/FELIX-3559
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.6.2
>
>
> The ds spec (in 4.3 compendium, 112.2.2) says we should first register the service for an immediate component, then create the implementation object.  currently we do the reverse.  Following the spec means we have to use a ServiceFactory even for immediate components but it makes the delayed and immediate code much more similar.  There is one behavior change for circular references, see CircularReferenceTest.test_A11_B0n_immediate_A_first  where B gets an A reference currently and doesn't when we follow the spec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira