Package | Description |
---|---|
com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
com.google.inject.assistedinject |
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar . |
com.google.inject.grapher | |
com.google.inject.internal |
Guice (sounds like like "juice")
|
com.google.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar . |
com.google.inject.servlet |
Servlet API scopes, bindings and registration; this extension requires
guice-servlet.jar . |
com.google.inject.spi |
Guice service provider interface
|
com.google.inject.testing.fieldbinder | |
com.google.inject.throwingproviders |
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar . |
com.google.inject.util |
Helper methods for working with Guice.
|
Class and Description |
---|
BindingScopingVisitor
Visits each of the strategies used to scope an injection.
|
BindingTargetVisitor
Visits each of the strategies used to find an instance to satisfy an injection.
|
Dependency
A variable that can be resolved by an injector.
|
Element
A core component of a module or injector.
|
Message
An error message and the context in which it occured.
|
ModuleAnnotatedMethodScanner
Allows extensions to scan modules for annotated methods and bind those methods
as providers, similar to
@Provides methods. |
ProvisionListener
Listens for provisioning of objects.
|
TypeConverter
Converts constant string values to a different type.
|
TypeConverterBinding
Registration of type converters for matching target types.
|
TypeListener
Listens for Guice to encounter injectable types.
|
Class and Description |
---|
BindingTargetVisitor
Visits each of the strategies used to find an instance to satisfy an injection.
|
Dependency
A variable that can be resolved by an injector.
|
HasDependencies |
InjectionPoint
A constructor, field or method that can receive injections.
|
ProviderInstanceBinding
A binding to a provider instance.
|
ProviderWithExtensionVisitor
A Provider that is part of an extension which supports a custom
BindingTargetVisitor.
|
Toolable
Instructs an
Injector running in Stage.TOOL that a method should be injected. |
Class and Description |
---|
BindingTargetVisitor
Visits each of the strategies used to find an instance to satisfy an injection.
|
ConstructorBinding
A binding to the constructor of a concrete clss.
|
ConvertedConstantBinding
A binding created from converting a bound instance to a new type.
|
DefaultBindingTargetVisitor
No-op visitor for subclassing.
|
HasDependencies |
InjectionPoint
A constructor, field or method that can receive injections.
|
InstanceBinding
A binding to a single instance.
|
LinkedKeyBinding
A binding to a linked key.
|
ProviderBinding
A binding to a
Provider that delegates to the binding for the provided type. |
ProviderInstanceBinding
A binding to a provider instance.
|
ProviderKeyBinding
A binding to a provider key.
|
Class and Description |
---|
BindingScopingVisitor
Visits each of the strategies used to scope an injection.
|
BindingTargetVisitor
Visits each of the strategies used to find an instance to satisfy an injection.
|
ConstructorBinding
A binding to the constructor of a concrete clss.
|
ConvertedConstantBinding
A binding created from converting a bound instance to a new type.
|
DefaultBindingTargetVisitor
No-op visitor for subclassing.
|
DefaultElementVisitor
No-op visitor for subclassing.
|
Dependency
A variable that can be resolved by an injector.
|
DependencyAndSource
A combination of a
Dependency and the source where the dependency was bound. |
DisableCircularProxiesOption
A request to disable circular proxies.
|
Element
A core component of a module or injector.
|
ElementSource
Contains information about where and how an
element was
bound. |
ElementVisitor
Visit elements.
|
ExposedBinding
A binding to a key exposed from an enclosed private environment.
|
HasDependencies |
InjectionListener
Listens for injections into instances of type
I . |
InjectionPoint
A constructor, field or method that can receive injections.
|
InjectionRequest
A request to inject the instance fields and methods of an instance.
|
InstanceBinding
A binding to a single instance.
|
InterceptorBinding
Registration of interceptors for matching methods of matching classes.
|
LinkedKeyBinding
A binding to a linked key.
|
MembersInjectorLookup
A lookup of the members injector for a type.
|
Message
An error message and the context in which it occured.
|
ModuleAnnotatedMethodScanner
Allows extensions to scan modules for annotated methods and bind those methods
as providers, similar to
@Provides methods. |
ModuleAnnotatedMethodScannerBinding
Represents a call to
Binder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner) in a module. |
PrivateElements
A private collection of elements that are hidden from the enclosing injector or module by
default.
|
ProviderBinding
A binding to a
Provider that delegates to the binding for the provided type. |
ProviderInstanceBinding
A binding to a provider instance.
|
ProviderKeyBinding
A binding to a provider key.
|
ProviderLookup
A lookup of the provider for a type.
|
ProviderWithExtensionVisitor
A Provider that is part of an extension which supports a custom
BindingTargetVisitor.
|
ProvidesMethodBinding
An @
Provides binding or binding produced by a
ModuleAnnotatedMethodScanner . |
ProvisionListener
Listens for provisioning of objects.
|
ProvisionListener.ProvisionInvocation
Encapsulates a single act of provisioning.
|
ProvisionListenerBinding
Binds keys (picked using a Matcher) to a provision listener.
|
RequireAtInjectOnConstructorsOption
A request to require explicit @
Inject annotations on constructors. |
RequireExactBindingAnnotationsOption
A request to require exact binding annotations.
|
RequireExplicitBindingsOption
A request to require explicit bindings.
|
ScopeBinding
Registration of a scope annotation with the scope that implements it.
|
StaticInjectionRequest
A request to inject the static fields and methods of a type.
|
TypeConverter
Converts constant string values to a different type.
|
TypeConverterBinding
Registration of type converters for matching target types.
|
TypeEncounter
Context of an injectable type encounter.
|
TypeListenerBinding
Binds types (picked using a Matcher) to an type listener.
|
UntargettedBinding
An untargetted binding.
|
Class and Description |
---|
BindingScopingVisitor
Visits each of the strategies used to scope an injection.
|
BindingTargetVisitor
Visits each of the strategies used to find an instance to satisfy an injection.
|
ConstructorBinding
A binding to the constructor of a concrete clss.
|
ConvertedConstantBinding
A binding created from converting a bound instance to a new type.
|
DefaultBindingTargetVisitor
No-op visitor for subclassing.
|
Dependency
A variable that can be resolved by an injector.
|
Element
A core component of a module or injector.
|
ExposedBinding
A binding to a key exposed from an enclosed private environment.
|
HasDependencies |
InjectionPoint
A constructor, field or method that can receive injections.
|
InstanceBinding
A binding to a single instance.
|
LinkedKeyBinding
A binding to a linked key.
|
ModuleAnnotatedMethodScanner
Allows extensions to scan modules for annotated methods and bind those methods
as providers, similar to
@Provides methods. |
ProviderBinding
A binding to a
Provider that delegates to the binding for the provided type. |
ProviderInstanceBinding
A binding to a provider instance.
|
ProviderKeyBinding
A binding to a provider key.
|
ProviderWithDependencies
A provider with dependencies on other injected types.
|
ProviderWithExtensionVisitor
A Provider that is part of an extension which supports a custom
BindingTargetVisitor.
|
Toolable
Instructs an
Injector running in Stage.TOOL that a method should be injected. |
UntargettedBinding
An untargetted binding.
|
Class and Description |
---|
BindingTargetVisitor
Visits each of the strategies used to find an instance to satisfy an injection.
|
ProviderInstanceBinding
A binding to a provider instance.
|
ProviderWithExtensionVisitor
A Provider that is part of an extension which supports a custom
BindingTargetVisitor.
|
Class and Description |
---|
BindingScopingVisitor
Visits each of the strategies used to scope an injection.
|
BindingTargetVisitor
Visits each of the strategies used to find an instance to satisfy an injection.
|
ConstructorBinding
A binding to the constructor of a concrete clss.
|
ConvertedConstantBinding
A binding created from converting a bound instance to a new type.
|
Dependency
A variable that can be resolved by an injector.
|
DependencyAndSource
A combination of a
Dependency and the source where the dependency was bound. |
DisableCircularProxiesOption
A request to disable circular proxies.
|
Element
A core component of a module or injector.
|
Elements.ModuleInfo |
Elements.RecordingBinder |
ElementSource
Contains information about where and how an
element was
bound. |
ElementVisitor
Visit elements.
|
ExposedBinding
A binding to a key exposed from an enclosed private environment.
|
HasDependencies |
InjectionListener
Listens for injections into instances of type
I . |
InjectionPoint
A constructor, field or method that can receive injections.
|
InjectionPoint.InjectableMember
Node in the doubly-linked list of injectable members (fields and methods).
|
InjectionPoint.InjectableMembers
Linked list of injectable members.
|
InjectionPoint.InjectableMethod |
InjectionPoint.Position
Position in type hierarchy.
|
InjectionPoint.Signature
A method signature.
|
InjectionRequest
A request to inject the instance fields and methods of an instance.
|
InstanceBinding
A binding to a single instance.
|
InterceptorBinding
Registration of interceptors for matching methods of matching classes.
|
LinkedKeyBinding
A binding to a linked key.
|
MembersInjectorLookup
A lookup of the members injector for a type.
|
Message
An error message and the context in which it occured.
|
ModuleAnnotatedMethodScanner
Allows extensions to scan modules for annotated methods and bind those methods
as providers, similar to
@Provides methods. |
ModuleAnnotatedMethodScannerBinding
Represents a call to
Binder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner) in a module. |
ModuleSource
Associated to a
module , provides the module class name, the parent module source , and the call stack that ends just before the module configure(Binder) method invocation. |
PrivateElements
A private collection of elements that are hidden from the enclosing injector or module by
default.
|
ProviderBinding
A binding to a
Provider that delegates to the binding for the provided type. |
ProviderInstanceBinding
A binding to a provider instance.
|
ProviderKeyBinding
A binding to a provider key.
|
ProviderLookup
A lookup of the provider for a type.
|
ProvidesMethodBinding
An @
Provides binding or binding produced by a
ModuleAnnotatedMethodScanner . |
ProvisionListener
Listens for provisioning of objects.
|
ProvisionListener.ProvisionInvocation
Encapsulates a single act of provisioning.
|
ProvisionListenerBinding
Binds keys (picked using a Matcher) to a provision listener.
|
RequireAtInjectOnConstructorsOption
A request to require explicit @
Inject annotations on constructors. |
RequireExactBindingAnnotationsOption
A request to require exact binding annotations.
|
RequireExplicitBindingsOption
A request to require explicit bindings.
|
ScopeBinding
Registration of a scope annotation with the scope that implements it.
|
StaticInjectionRequest
A request to inject the static fields and methods of a type.
|
TypeConverter
Converts constant string values to a different type.
|
TypeConverterBinding
Registration of type converters for matching target types.
|
TypeEncounter
Context of an injectable type encounter.
|
TypeListener
Listens for Guice to encounter injectable types.
|
TypeListenerBinding
Binds types (picked using a Matcher) to an type listener.
|
UntargettedBinding
An untargetted binding.
|
Class and Description |
---|
Message
An error message and the context in which it occured.
|
Class and Description |
---|
Dependency
A variable that can be resolved by an injector.
|
HasDependencies |
ProviderWithDependencies
A provider with dependencies on other injected types.
|
Class and Description |
---|
DefaultElementVisitor
No-op visitor for subclassing.
|
Dependency
A variable that can be resolved by an injector.
|
Element
A core component of a module or injector.
|
ElementVisitor
Visit elements.
|
HasDependencies |
ProviderWithDependencies
A provider with dependencies on other injected types.
|