Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

[service loader mediator] support for prototype scope #2956

Open
bjhargrave opened this issue Sep 16, 2018 · 1 comment
Open

[service loader mediator] support for prototype scope #2956

bjhargrave opened this issue Sep 16, 2018 · 1 comment

Comments

@bjhargrave
Copy link
Member

Original bug ID: BZ#3088
From: @rotty3000
Reported version: R7

@bjhargrave
Copy link
Member Author

Comment author: @rotty3000

The current "service" support for SLM predates prototype scope. It should be added to solve the current limitation documented in the spec:

This behavior is similar, though not quite identical, to the ServiceLoader.load() method that gives each consumer a separate instance of the service. The difference is that different users inside a bundle will share the same instance. - [1]

[1] https://osgi.org/specification/osgi.cmpn/7.0.0/service.loader.html#d0e107117

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant