You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2012/06/16 06:07:42 UTC

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

David Jencks created FELIX-3559:
-----------------------------------

             Summary: [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
             Fix For: scr-1.8.0


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

David Jencks resolved FELIX-3559.
---------------------------------

    Resolution: Fixed
    
> [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.8.0
>
>
> 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

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

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

Felix Meschberger closed FELIX-3559.
------------------------------------


Close after release
                
> [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

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

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

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

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

David Jencks updated FELIX-3559:
--------------------------------

    Assignee: David Jencks
    
> [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.8.0
>
>
> 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