You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2021/12/07 15:06:00 UTC
[jira] [Created] (SLING-10975) osgi-mock: Remove duplicate handling of ServiceFactory implementation
Stefan Seifert created SLING-10975:
--------------------------------------
Summary: osgi-mock: Remove duplicate handling of ServiceFactory implementation
Key: SLING-10975
URL: https://issues.apache.org/jira/browse/SLING-10975
Project: Sling
Issue Type: Bug
Components: Testing
Affects Versions: Testing OSGi Mock 3.2.0
Reporter: Stefan Seifert
Assignee: Stefan Seifert
Fix For: Testing OSGi Mock 3.2.2
since SING-5090 we have a very simplified ServiceFactory support, which is not really implemented correctly but it seemed to fulfill the need of some unit tests. having a proper serviceScope=PROTOTYPE and ServiceFactory implementation would required much more work, and a full working SCR component registry which is able to manage multiple service instances per service factory registrattion.
in this ticket, we remove some misplaced code around the existing ServiceFactory implementation without improving it: some code around this handling got duplicated, and would do harm it it would be executed the intended way.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)