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] [Commented] (FELIX-3657) [DS] ServiceFactory problems
Date Fri, 07 Sep 2012 00:45:07 GMT

    [ 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

Mime
View raw message