-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Guice10
Googler edited this page Jan 15, 2020
·
4 revisions
Guice 1.0 Release
Released March 8, 2007.
- Changed constant binding API. Replaced
bindConstant(annotation)withbindConstant().annotatedWith(annotation). - Fixed bug in ordering of instance injection.
- 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.
- 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
-
User's Guide
-
Integration
-
Extensions
-
Internals
-
Releases
-
Community