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

David Jencks resolved FELIX-3809.
---------------------------------
    Resolution: Won't Fix

I'm not sure what I had in mind here.  Today it seems to me that it doesn't 
make much difference whether a DS component is using the ds framework to call 
getService or we do it directly.

> [DS] circular reference tests call getService too often, affecting the results
> ------------------------------------------------------------------------------
>
>                 Key: FELIX-3809
>                 URL: https://issues.apache.org/jira/browse/FELIX-3809
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>
> The circular reference tests call getService from the test code to get the 
> components we are examining the state of.  However this prompts creation of 
> the object if it was not already created.  To observe the system without this 
> interference we need a DS component with optional references to A and B that 
> we use to get the instances from.
> Possibly keeping the current setup as well might be a good idea since in real 
> life such getService calls could in fact occur at any time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to