mirror of
https://github.com/google/guice.git
synced 2026-10-20 00:17:16 +00:00
Page:
Guice10
Pages
3rdPartyModules
AOP
AppsThatUseGuice
AssistedInject
Avoid Injecting Closable Resources
AvoidCallingProvideMethodsAndInjectConstructors
AvoidConditionalLogicInModules
AvoidStaticState
BeCarefulAboutIoInProviders
BestPractices
BindingAnnotations
BindingResolution
Bindings
Bootstrap
BoundFields
BuiltInBindings
ClassLoading
CustomInjections
CustomScopes
CyclicDependencies
DocumentPublicBindings
DontReuseAnnotations
Errors
ExtendingGuice
ExtensionSPI
ExternalDocumentation
FrequentlyAskedQuestions
GettingStarted
GoogleAppEngine
Grapher
Guice10
Guice20
Guice30
Guice40
Guice41
Guice42
Guice421
Guice422
Guice423
Guice500
Guice501
Guice510
Guice600
Guice700
GuiceDiscussions
GuiceInKotlin
GuicePersist
GuicePersistMultiModules
Home
InjectOnlyDirectDependencies
InjectingProviders
InjectingTheInjector
InjectionPoints
Injections
InspectingModules
InstanceBindings
JPA
JSR330
JustInTimeBindings
KeepConstructorsHidden
LinkedBindings
MentalModel
MinimizeMutability
ModulesShouldBeFastAndSideEffectFree
Motivation
Multibindings
OSGi
OptionalAOP
OrganizeModulesByFeature
PreferAtProvides
ProviderBindings
ProvidesMethods
RestrictedBindingSource
Scopes
ServletExtensionSPI
ServletModule
ServletRegexKeyMapping
Servlets
SpringComparison
Struts2Integration
ThrowingProviders
ToConstructorBindings
Transactions
UntargettedBindings
UseNullable
Clone
4
Guice10
Michael Diamond edited this page 2020-01-17 17:27:27 -08:00
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
-
User's Guide
-
Integration
-
Extensions
-
Internals
-
Releases
-
Community