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 aKey
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.Guice uses Key objects to identify a dependency that can be resolved by the GuiceInjector
.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
.Level of restriction.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
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 theInjector
should inject values.Builds the graphs of objects that make up your application.Guice uses Key objects to identify a dependency that can be resolved by the GuiceInjector
.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.binderClassDescriptionGuice uses Key objects to identify a dependency that can be resolved by the Guice
Injector
.An object capable of providing instances of typeT
.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.graphvizClassDescriptionAbstractModule is a helper class used to add bindings to the Guice injector.Annotates annotations which are used for binding.Annotates members of your implementation class (constructors, methods and fields) into which the
Injector
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.internalClassDescriptionAbstractModule is a helper class used to add bindings to the Guice injector.Collects configuration information (primarily bindings) which will be used to create an
Injector
.A mapping from aKey
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.Guice uses Key objects to identify a dependency that can be resolved by the GuiceInjector
.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.internal.aop
-
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 aKey
to the strategy for getting instances of the type.Guice uses Key objects to identify a dependency that can be resolved by the GuiceInjector
.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.servletClassDescriptionAbstractModule is a helper class used to add bindings to the Guice injector.Collects configuration information (primarily bindings) which will be used to create an
Injector
.A mapping from aKey
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.Guice uses Key objects to identify a dependency that can be resolved by the GuiceInjector
.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 aKey
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.Guice uses Key objects to identify a dependency that can be resolved by the GuiceInjector
.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
.Annotation restricting the binding of the target type to permitted sources.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
.Guice uses Key objects to identify a dependency that can be resolved by the GuiceInjector
.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.utilClassDescriptionAbstractModule is a helper class used to add bindings to the Guice injector.Collects configuration information (primarily bindings) which will be used to create an
Injector
.A mapping from aKey
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.