-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support ServiceLoader #38
Comments
I am bit confused by this request mostly because Jackson components already included SPI files for all SPI functionality itself is only exposed via |
Thanks for your response. I did only search for META-INF/services in https://github.com/FasterXML/jackson-databind/find/master and found only https://github.com/FasterXML/jackson-databind/blob/master/src/main/resources/META-INF/services/com.fasterxml.jackson.databind.ObjectMapper . That's because I thought there would be place for improvement ;-) |
@SchulteMarkus ok that makes sense. Just wanted to make sure. If there are missing cases just let us know! |
Java has a class java.util.ServiceLoader (in this package available from JDK6 onwards).
Feature request: Please support ServiceLoader by placing the required files in META-INF/services.
Background
You may already have heard of SubstrateVM (part of GraalVM)
SubstrateVM supports META-INF/services as part of the compilation process (done in oracle/graal#563, released https://www.graalvm.org/docs/release-notes/#10-rc8).
So, if you support ServiceLoader, you add (part of) support for SubstrateVM, too.
Example
Micronaut can be compiled using SubstrateVM. One example for META-INF/services can be found at https://github.com/micronaut-projects/micronaut-core/tree/master/inject/src/main/resources/META-INF/services
The text was updated successfully, but these errors were encountered: