Guice 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)
软件详情:https://github.com/google/guice/wiki/Guice41
下载地址:http://search.maven.org/remotecontent?filepath=com/google/inject/guice/4.1.0/guice-4.1.0-no_aop.jar
来自:开源中国社区

