Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdi-dev] CDI 4.1 Alpha availability

Thanks Matej!

I would like to point out that we're very much looking for feedback on the Method Invokers feature. The specification text is currently present in the javadocs of `Invoker` and `InvokerBuilder` (including many open questions and TODOs); that will eventually move to the CDI specification text and the javadocs will be more streamlined. I'll note right here that the target audience of this feature are CDI-based frameworks (JAX-RS would be a great example). We don't expect this to be directly usable by application developers.

Also, in particular, the `InvokerBuilder` allows specifying various transformations of the invocation, which I find incredibly useful, but it's also been a subject of a great deal of discussions. We eventually went with my original proposal in the CDI 4.1.0.Alpha1 release, but that doesn't mean it's a done deal. I'd love to hear from anyone and everyone what they think about it. Changing all aspects of it is very much on the table, as well as the possibility of removing it altogether (which would make me sad of course :-) ).

Thanks,

LT

On Thu, Oct 26, 2023 at 12:19 PM Matej Novotny via cdi-dev <cdi-dev@xxxxxxxxxxx> wrote:
Hello

As agreed on recent CDI mtgs, CDI 4.1 now has Alpha releases available in Maven Central.
CDI API - 4.1.0.Alpha1
CDI TCK - 4.1.0.Alpha5

For those of you who want to play around with it, there is also Weld 6.0.0.Alpha1 implementing this new API - http://weld.cdi-spec.org/news/2023/10/26/weld-600Alpha1/
This includes implementation of the Method invokers API through MethodHandles.

Feedback is appreciated on both fronts, CDI API designs as well as Weld flaws.

Regards
Matej
_______________________________________________
cdi-dev mailing list
cdi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdi-dev

Back to the top