Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSGi manifest needs work for ServiceLoader behavior #261

Open
joakime opened this issue Sep 7, 2018 · 0 comments
Open

OSGi manifest needs work for ServiceLoader behavior #261

joakime opened this issue Sep 7, 2018 · 0 comments
Labels
API (Both) Impacts the client and server API enhancement Adding a new feature or improving an existing one
Milestone

Comments

@joakime
Copy link
Contributor

joakime commented Sep 7, 2018

ServiceLoader use is not a feature supported by OSGi.

On Eclipse Equinox, ServiceLoader support does not exist in any form.
On Apache Felix, ServiceLoader support exists, but as an optional extension.

The recommendations by Eclipse for projects that are both OSGi and using ServiceLoader is to declare that the jar uses a ServiceLoader and to set that support to optional.

The nuances of this are beyond my understanding, so I'll have to defer to experts on this.

Some documentation on all of this ...

@markt-asf markt-asf added API (Both) Impacts the client and server API enhancement Adding a new feature or improving an existing one labels Apr 16, 2020
@markt-asf markt-asf added this to the backlog milestone May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API (Both) Impacts the client and server API enhancement Adding a new feature or improving an existing one
Projects
None yet
Development

No branches or pull requests

2 participants