Weld 2.4.6.Final
Time has come for another round of Weld 2.4 bugfix release. But that’s not all - this time there is also new API to go along with this release - Weld API 2.4.SP2.
Among other things you can now obtain interceptor binding from javax.interceptor.InvocationContext
, use enriched version of javax.enterprise.event.Event
or select javax.enterprise.inject.Instance
based on java.lang.reflect.Type
.
Notable fixes and improvements:
-
Weld Core:
-
Weld SE
-
There are now multiple convenient error-proof methods to quickly configure SE container (WELD-2426)
-
Weld.enableDevMode()
,Weld.scanClasspathEntries()
, …
-
-
-
Weld API/SPI
-
WeldInstance
has several improvements -
There is new interface in the API -
WeldEvent
- which can be used in place of well knownEvent
but allows you narrow down event type by usingselect()
withjava.lang.reflect.Type
(WELD-2427) -
API now contains
WeldInvocationContext
, an enriched version ofjavax.interceptor.InvocationContext
which allows to obtain interceptor binding (WELD-2433)-
There is also a
String
key used to obtain interceptors binding directly fromInvocationContext
(WELD-2436) -
In order to learn more, please refer to (our documentation)
-
-
-
Other
-
Probe - fixed NPE which might occur when bean had
@Priority
but no other annotation (WELD-2432) -
All the API changes should now be documented within Weld docs
-
WildFly Patch
As usual, a patch for WildFly 11.0.0.Final is available. If you’re not familiar with patching WildFly, check the FAQ.
[ Download ] [ Documentation ] [ Release notes ]