发布于 2016-06-18 00:24:06 | 113 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Guice 轻量级IoC容器

Guice是一个Google公司开发的轻量级IoC容器,


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)

了解更多信息,查看完整发布说明

下载地址:



历史版本 :
Guice 4.1 发布,Google 的 IoC 容器
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务