Uses of Package
com.google.inject
Packages that use com.google.inject
Package
Description
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar
.Interfaces which make up
Binder
's expression language.Guice (sounds like "juice")
JNDI integration; this extension requires
guice-jndi.jar
.Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar
.Support for binding to string-based names.
Servlet API scopes, bindings and registration; this extension requires
guice-servlet.jar
.Guice service provider interface
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar
.JMX integration; this extension requires
guice-jmx.jar
.Helper methods for working with Guice.
-
Classes in com.google.inject used by com.google.injectClassDescriptionCollects configuration information (primarily bindings) which will be used to create an
Injector
.A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported scope is found.Builds the graphs of objects that make up your application.Binding key consisting of an injection type and an optional annotation.Injects dependencies into the fields and methods on instances of typeT
.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.Returns a binder whose configuration information is hidden from its environment by default.An object capable of providing instances of typeT
.A scope is a level of visibility that instances provided by Guice may have.Annotates annotations which are used for scoping.The stage we're running in.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.assistedinjectClassDescriptionA mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Annotates annotations which are used for binding.Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported scope is found.Annotates members of your implementation class (constructors, methods and fields) into which the
Injector
should inject values.Builds the graphs of objects that make up your application.Binding key consisting of an injection type and an optional annotation.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.An object capable of providing instances of typeT
.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.binderClassDescriptionBinding key consisting of an injection type and an optional annotation.An object capable of providing instances of type
T
.A scope is a level of visibility that instances provided by Guice may have.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.grapher
-
Classes in com.google.inject used by com.google.inject.grapher.graphvizClassDescriptionA support class for
Module
s which reduces repetition and results in a more readable configuration.Annotates annotations which are used for binding.Annotates members of your implementation class (constructors, methods and fields) into which theInjector
should inject values.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
. -
Classes in com.google.inject used by com.google.inject.internalClassDescriptionA support class for
Module
s which reduces repetition and results in a more readable configuration.Collects configuration information (primarily bindings) which will be used to create anInjector
.A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Annotates annotations which are used for binding.Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported scope is found.A pointer to the default implementation of a type.Builds the graphs of objects that make up your application.Binding key consisting of an injection type and an optional annotation.Injects dependencies into the fields and methods on instances of typeT
.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.A pointer to the default provider type for a type.An object capable of providing instances of typeT
.Indicates that there was a runtime failure while providing an instance.A scope is a level of visibility that instances provided by Guice may have.The stage we're running in.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.jndi
-
Classes in com.google.inject used by com.google.inject.multibindingsClassDescriptionCollects configuration information (primarily bindings) which will be used to create an
Injector
.A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Binding key consisting of an injection type and an optional annotation.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.nameClassDescriptionCollects configuration information (primarily bindings) which will be used to create an
Injector
.Annotates annotations which are used for binding. -
Classes in com.google.inject used by com.google.inject.servletClassDescriptionA support class for
Module
s which reduces repetition and results in a more readable configuration.Collects configuration information (primarily bindings) which will be used to create anInjector
.A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Annotates annotations which are used for binding.A pointer to the default implementation of a type.Annotates members of your implementation class (constructors, methods and fields) into which theInjector
should inject values.Builds the graphs of objects that make up your application.Binding key consisting of an injection type and an optional annotation.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.An object capable of providing instances of typeT
.Annotates methods of aModule
to create a provider method binding.A scope is a level of visibility that instances provided by Guice may have.Annotates annotations which are used for scoping.Apply this to implementation classes when you want only one instance (perInjector
) to be reused for all injections for that binding.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.spiClassDescriptionCollects configuration information (primarily bindings) which will be used to create an
Injector
.A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported scope is found.Builds the graphs of objects that make up your application.Binding key consisting of an injection type and an optional annotation.Injects dependencies into the fields and methods on instances of typeT
.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.Returns a binder whose configuration information is hidden from its environment by default.An object capable of providing instances of typeT
.A scope is a level of visibility that instances provided by Guice may have.The stage we're running in.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.throwingprovidersClassDescriptionCollects configuration information (primarily bindings) which will be used to create an
Injector
.Binding key consisting of an injection type and an optional annotation.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.An object capable of providing instances of typeT
.Represents a generic typeT
. -
Classes in com.google.inject used by com.google.inject.tools.jmx
-
Classes in com.google.inject used by com.google.inject.utilClassDescriptionA support class for
Module
s which reduces repetition and results in a more readable configuration.Collects configuration information (primarily bindings) which will be used to create anInjector
.A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Annotates members of your implementation class (constructors, methods and fields) into which theInjector
should inject values.Builds the graphs of objects that make up your application.A module contributes configuration information, typically interface bindings, which will be used to create anInjector
.An object capable of providing instances of typeT
.A scope is a level of visibility that instances provided by Guice may have.