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/09/07 02:45:07 UTC

[jira] [Commented] (FELIX-3657) [DS] ServiceFactory problems

    [ https://issues.apache.org/jira/browse/FELIX-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450229#comment-13450229 ] 

David Jencks commented on FELIX-3657:
-------------------------------------

rev r1381825 fixes the first two problems.  
                
> [DS] ServiceFactory problems
> ----------------------------
>
>                 Key: FELIX-3657
>                 URL: https://issues.apache.org/jira/browse/FELIX-3657
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.8.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.8.0
>
>
> Three problems:
> 1. service factory getService doesn't fetch the dependencies first
> 2. dependencyManager serviceRemoved should remove the reference from the dependency map, not unget service which is called from many other places
> 3. dependencyManagers are shared among all instances created by a ServiceFactoryComponentManager, so they shouldn't ever have a reference to the implementation object, it should be passed in.

--
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