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.binder |
Interfaces which make up
Binder 's
expression language. |
com.google.inject.grapher | |
com.google.inject.grapher.graphviz | |
com.google.inject.internal |
Guice (sounds like like "juice")
|
com.google.inject.jndi |
JNDI integration; this extension requires
guice-jndi.jar . |
com.google.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar . |
com.google.inject.name |
Support for binding to string-based names.
|
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.tools.jmx |
JMX integration; this extension requires
guice-jmx.jar . |
com.google.inject.util |
Helper methods for working with Guice.
|
Class and Description |
---|
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
ConfigurationException
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported
scope is found.
|
Injector
Builds the graphs of objects that make up your application.
|
Key
Binding key consisting of an injection type and an optional annotation.
|
Key.AnnotationStrategy |
Key.NullAnnotationStrategy |
MembersInjector
Injects dependencies into the fields and methods on instances of type
T . |
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
PrivateBinder
Returns a binder whose configuration information is hidden from its environment by default.
|
Provider
An object capable of providing instances of type
T . |
Scope
A scope is a level of visibility that instances provided by Guice may have.
|
ScopeAnnotation
Annotates annotations which are used for scoping.
|
Stage
The stage we're running in.
|
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
BindingAnnotation
Annotates annotations which are used for binding.
|
ConfigurationException
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported
scope is found.
|
Inject
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector should inject values. |
Injector
Builds the graphs of objects that make up your application.
|
Key
Binding key consisting of an injection type and an optional annotation.
|
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
Provider
An object capable of providing instances of type
T . |
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Key
Binding key consisting of an injection type and an optional annotation.
|
Provider
An object capable of providing instances of type
T . |
Scope
A scope is a level of visibility that instances provided by Guice may have.
|
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
Injector
Builds the graphs of objects that make up your application.
|
Key
Binding key consisting of an injection type and an optional annotation.
|
Class and Description |
---|
AbstractModule
A support class for
Module s which reduces repetition and results in
a more readable configuration. |
BindingAnnotation
Annotates annotations which are used for binding.
|
Inject
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector should inject values. |
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
Class and Description |
---|
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
BindingAnnotation
Annotates annotations which are used for binding.
|
ConfigurationException
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported
scope is found.
|
ImplementedBy
A pointer to the default implementation of a type.
|
Injector
Builds the graphs of objects that make up your application.
|
Key
Binding key consisting of an injection type and an optional annotation.
|
MembersInjector
Injects dependencies into the fields and methods on instances of type
T . |
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
ProvidedBy
A pointer to the default provider type for a type.
|
Provider
An object capable of providing instances of type
T . |
Scope
A scope is a level of visibility that instances provided by Guice may have.
|
Stage
The stage we're running in.
|
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Inject
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector should inject values. |
Provider
An object capable of providing instances of type
T . |
Class and Description |
---|
AbstractModule
A support class for
Module s which reduces repetition and results in
a more readable configuration. |
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
BindingAnnotation
Annotates annotations which are used for binding.
|
ConfigurationException
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported
scope is found.
|
Inject
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector should inject values. |
Injector
Builds the graphs of objects that make up your application.
|
Key
Binding key consisting of an injection type and an optional annotation.
|
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
Provider
An object capable of providing instances of type
T . |
Scope
A scope is a level of visibility that instances provided by Guice may have.
|
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
BindingAnnotation
Annotates annotations which are used for binding.
|
Class and Description |
---|
AbstractModule
A support class for
Module s which reduces repetition and results in
a more readable configuration. |
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
BindingAnnotation
Annotates annotations which are used for binding.
|
ImplementedBy
A pointer to the default implementation of a type.
|
Inject
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector should inject values. |
Injector
Builds the graphs of objects that make up your application.
|
Key
Binding key consisting of an injection type and an optional annotation.
|
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
Provider
An object capable of providing instances of type
T . |
Provides
Annotates methods of a
Module to create a provider method binding. |
Scope
A scope is a level of visibility that instances provided by Guice may have.
|
ScopeAnnotation
Annotates annotations which are used for scoping.
|
Singleton
Apply this to implementation classes when you want only one instance
(per
Injector ) to be reused for all injections for that binding. |
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
ConfigurationException
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported
scope is found.
|
Injector
Builds the graphs of objects that make up your application.
|
Key
Binding key consisting of an injection type and an optional annotation.
|
MembersInjector
Injects dependencies into the fields and methods on instances of type
T . |
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
PrivateBinder
Returns a binder whose configuration information is hidden from its environment by default.
|
Provider
An object capable of providing instances of type
T . |
Scope
A scope is a level of visibility that instances provided by Guice may have.
|
Stage
The stage we're running in.
|
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Key
Binding key consisting of an injection type and an optional annotation.
|
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
Provider
An object capable of providing instances of type
T . |
TypeLiteral
Represents a generic type
T . |
Class and Description |
---|
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
Injector
Builds the graphs of objects that make up your application.
|
Class and Description |
---|
AbstractModule
A support class for
Module s which reduces repetition and results in
a more readable configuration. |
Binder
Collects configuration information (primarily bindings) which will be
used to create an
Injector . |
Binding
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
Inject
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector should inject values. |
Injector
Builds the graphs of objects that make up your application.
|
Module
A module contributes configuration information, typically interface
bindings, which will be used to create an
Injector . |
Provider
An object capable of providing instances of type
T . |
Scope
A scope is a level of visibility that instances provided by Guice may have.
|