Guice 4.1 发布,Google 的 IoC 容器
欢迎加入运维网交流群:263444886 http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://my.oschina.net/img/hot3.pngGuice 4.1 发布了,Guice 是 Google公司开发的轻量级IoC容器,其特点是:
1、速度快,据说是Spring的100倍速度
2、无需配置文件,实用JDK5.0的annotation描述组件依赖,简单,而且有编译器检查和重构支持
3、简单,代码量很少
改进日志如下:
内核改进
[*] @ProvidedBy supports javax.inject.Provider (issue #808)
[*] Reduced the number of lines in error messages.
[*] Fix potential rare deadlock when there are multi-threaded cycles in singletons.
[*] Allow members injection to happen in parallel if it was requested from different threads.
[*] Make disableCircularProxies more strict.
[*] Updated the internal cglib to 3.2.0 to allow Guice to be used with signed jars.
[*] Various performance optimizations.
AssistedInject
[*] Skip static methods in interfaces (for Java8 compatibility) (issue #937)
了解更多信息,查看完整发布说明。
下载地址:
[*] Guice: guice-4.1.0.jar
[*] Guice (No AOP): guice-4.1.0-no_aop.jar
页:
[1]