Releases
Guice 1.0
登录后可跨设备保存划线和私人笔记登录
Guice 1.0 Release
Guice 1.0
Released March 8, 2007.
Downloads
Docs
Changes
1.0
- Changed constant binding API. Replaced
bindConstant(annotation)withbindConstant().annotatedWith(annotation). - Fixed bug in ordering of instance injection.
1.0rc3
- Renamed
ContainertoInjector - Renamed "container scope" to "singleton"
- Guice now blows up if a custom provider returns
null - Added
@ImplementedByand@ProvidedBy - Removed
Binder.link().Binder.bind().to(...)now links. - Further fleshed out binder expression language.
- Added Spring integration.
- Added JNDI integration.
- Made
CreationExceptiona runtime exception.
1.0rc2 (changes since 1.0rc1)
- Added
@ScopeAnnotation. If you forget to bind a scope, you'll get an error. - Added
Binder.addError()so you can record custom error messages from modules. - Removed
Scopes.DEFAULT. We now refer to this as "no scope." - Added up front checks to ensure annotations have runtime retention and the proper meta annotations.
- Added support for injecting private and protected members (cglib fast reflection doesn't support this).
- Renamed
LocatortoProvider - Replaced
FactorywithProvideralso - Removed
Contextfrom public API. We may support this functionality via injection in a future release but we're leaving it out for now. - Extracted an interface for
Binding - We now inject members of instances bound using
toInstance()andtoProvider()upon container creation. - When a binding annotation has attributes, if we can't find a binding to the same set of attribute values, we now look for a binding to just the annotation type.
- Created a separate jar for the
servletpackage - Created a Struts 2 plugin jar
评论
登录后参与评论
正在加载评论…
KnowForge