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/06 01:32:22 UTC

[jira] [Resolved] (FELIX-3536) Consider putting the non-spec ComponentFactory behavior in a separate class

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

David Jencks resolved FELIX-3536.
---------------------------------

    Resolution: Fixed

I made m_componentInstances private again, good idea, and committed in rev 1346660.
                
> Consider putting the non-spec ComponentFactory behavior in a separate class
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-3536
>                 URL: https://issues.apache.org/jira/browse/FELIX-3536
>             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
>
>         Attachments: FELIX-3536.diff
>
>
> I personally find it pretty confusing to figure out which parts of CompnentFactoryImpl relate to the spec behavior and which relate to the non-spec ManagedServiceFactory-like backwards compatible behavior enabled with the "ds.factory.enabled" configuration flag.  I'd like to suggest putting the non-spec behavior in a separate class, see patch.

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