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
Turn JsonbComponentInstanceCreator into a service provider interface #260
Comments
Any thought on this? This is rather blocking for the Yasson Quarkus integration and we have quite a few users asking for it. |
Can you elaborate on what needs to happen in order to turn this into an SPI? Are you asking that we make a |
Just use the |
Sounds like a reasonable change -- do you have cycles to propose a PR? |
Yes, I'll try to prepare something. |
- if there is no service provider use the default implementations - resolves eclipse-ee4j#260
- if there is no service provider use the default implementations - resolves eclipse-ee4j#260 Signed-off-by: Martin Kouba <mkouba@redhat.com>
I can work on this next week when I am back if you haven't had time to do
it until the @mkouba
…On Tue, Apr 30, 2019, 08:52 Martin Kouba ***@***.***> wrote:
Yes, I'll try to prepare something.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#260 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABBMDP4C6NJXITTYZE7RSWTPS7UEVANCNFSM4HFPOECA>
.
|
- if there is no service provider use the default implementations - resolves eclipse-ee4j#260 Signed-off-by: Martin Kouba <mkouba@redhat.com>
@bravehorsie @aguibert is the next release already scheduled? Asking that so that we don't miss it and do the appropriate work in Quarkus as soon as it is released. Thanks! |
Thank you for fixing this issue, is a blocking one for our porting to JSONB. |
@bravehorsie @aguibert any news on the release front? Thanks! |
@bravehorsie I added a code review to #262 (your big JSON-P interop PR) and I think we should merge it and then we should be good to cut a new release. |
Yasson 1.0.4 has been released to central, which includes the fix. |
Thanks @bravehorsie ! |
So that an integrator could provide a custom implementation of this interface.
JsonbComponentInstanceCreatorFactory
currently contains some reflection magic to detect the presence of a CDI container. In fact, the presence of the CDI API is enough.I believe it would be reasonable to define this SPI. Quarkus integration would definitely make use of it because our DI solution is compatible with CDI but we don't support all "portable extensions related" SPIs (they do not fit into our build time metadata processing approach) and so the invocation of the
BeanManagerInstanceCreator#getOrCreateComponent()
fails.The text was updated successfully, but these errors were encountered: