felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3559) [DS] first register immediate components' service, then create the implementation object per spec
Date Sat, 16 Jun 2012 04:07:42 GMT
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

        

Mime
View raw message