Weld 3.0.0.Beta1 发布了,这是一个重要的里程碑。CDI 2现在被认为是“功能齐全”的,所以接下来的 Weld 3版本应该主要致力于清理和优化。下一个版本为 Weld 3.0.0.cr1 预计在一月中旬发布。并且我们希望在二月初发布 Weld 3.0.0.final。本次更新内容如下:
主要更新:
javax.enterprise.inject.spi.InterceptionFactory implementation
ProcessSyntheticObserverMethod container lifecycle event
BeforeDestroyed event fired before a context is actually destroyed
"trimmed" bean archives
context control - ActivateRequestContext interceptor binding and RequestContextController built-in bean
ProcessSyntheticBean container lifecycle event
few proposals did not make it into CDI 2.0 and so we enhanced the Weld API:
org.jboss.weld.inject.WeldInstance
org.jboss.weld.interceptor.WeldInvocationContext allows to obtain a set of interceptor bindings for a lifecycle callback, business method, timeout method, or constructor
org.jboss.weld.bootstrap.event.WeldAfterBeanDiscovery allows to obtain an InterceptorConfigurator to configure a new Interceptor bean
WildFly 补丁:
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.
软件详情:http://weld.cdi-spec.org/news/2016/12/19/weld-300Beta1/
下载地址:http://weld.cdi-spec.org/download/
来自:开源中国社区

