Weld 3.0.0.Beta1
I am very pleased to announce the first Beta version of Weld 3.0.0 (CDI 2.0). See also the release details. Thanks to everyone involved in this release!
This is an important milestone. CDI 2.0 is now considered "feature complete" and so the next Weld 3 versions should be mostly dedicated to cleanup and optimization. The next version will be Weld 3.0.0.CR1 (ETA in mid January). Finally, we would like to release Weld 3.0.0.Final in early February.
New and noteworthy
-
javax.enterprise.inject.spi.InterceptionFactoryimplementation (WELD-2257) -
ProcessSyntheticObserverMethodcontainer lifecycle event (WELD-2279) -
BeforeDestroyedevent fired before a context is actually destroyed (WELD-2269) -
"trimmed" bean archives (WELD-2268)
-
context control -
ActivateRequestContextinterceptor binding (WELD-2267) andRequestContextControllerbuilt-in bean (WELD-2266) -
ProcessSyntheticBeancontainer lifecycle event (WELD-2265) -
few proposals did not make it into CDI 2.0 and so we enhanced the Weld API:
-
org.jboss.weld.inject.WeldInstance(already part of Weld 2.4 API) -
org.jboss.weld.interceptor.WeldInvocationContextallows to obtain a set of interceptor bindings for a lifecycle callback, business method, timeout method, or constructor (see also CDI-468) -
org.jboss.weld.bootstrap.event.WeldAfterBeanDiscoveryallows to obtain anInterceptorConfiguratorto configure a newInterceptorbean
-
WildFly Patch
As usual, a patch for WildFly is available. This time the target platform is WildFly 10.1.0.Final. If you’re not familiar with patching WildFly, check Markus’s tutorial.
[ Download ] [ Documentation ] [ Release notes ]