Uses of Package
com.google.inject.spi
Packages that use com.google.inject.spi
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
.Guice (sounds like "juice")
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar
.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
.Helper methods for working with Guice.
-
Classes in com.google.inject.spi used by com.google.injectClassDescriptionVisits each of the strategies used to scope an injection.Visits each of the strategies used to find an instance to satisfy an injection.A variable that can be resolved by an injector.A core component of a module or injector.A constructor, field or method that can receive injections.A binding to a linked key.An error message and the context in which it occured.Allows extensions to scan modules for annotated methods and bind those methods as providers, similar to
@Provides
methods.Listens for provisioning of objects.Converts constant string values to a different type.Registration of type converters for matching target types.Listens for Guice to encounter injectable types. -
Classes in com.google.inject.spi used by com.google.inject.assistedinjectClassDescriptionVisits each of the strategies used to find an instance to satisfy an injection.A variable that can be resolved by an injector.A constructor, field or method that can receive injections.A binding to a provider instance.A Provider that is part of an extension which supports a custom BindingTargetVisitor.Instructs an
Injector
running inStage.TOOL
that a method should be injected. -
Classes in com.google.inject.spi used by com.google.inject.grapherClassDescriptionVisits each of the strategies used to find an instance to satisfy an injection.A binding to the constructor of a concrete clss.A binding created from converting a bound instance to a new type.No-op visitor for subclassing.A constructor, field or method that can receive injections.A binding to a single instance.A binding to a linked key.A binding to a
Provider
that delegates to the binding for the provided type.A binding to a provider instance.A binding to a provider key. -
Classes in com.google.inject.spi used by com.google.inject.internalClassDescriptionVisits each of the strategies used to scope an injection.Visits each of the strategies used to find an instance to satisfy an injection.A binding to the constructor of a concrete clss.A binding created from converting a bound instance to a new type.No-op visitor for subclassing.No-op visitor for subclassing.A variable that can be resolved by an injector.A request to disable circular proxies.A core component of a module or injector.Contains information about where and how an
element
was bound.Visit elements.Details about a single Guice error and supports formatting itself in the context of other Guice errors.A binding to a key exposed from an enclosed private environment.Listens for injections into instances of typeI
.A constructor, field or method that can receive injections.A request to inject the instance fields and methods of an instance.A binding to a single instance.Registration of interceptors for matching methods of matching classes.A binding to a linked key.A lookup of the members injector for a type.An error message and the context in which it occured.Allows extensions to scan modules for annotated methods and bind those methods as providers, similar to@Provides
methods.Represents a call toBinder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)
in a module.A private collection of elements that are hidden from the enclosing injector or module by default.A binding to aProvider
that delegates to the binding for the provided type.A binding to a provider instance.A binding to a provider key.A lookup of the provider for a type.A Provider that is part of an extension which supports a custom BindingTargetVisitor.An @Provides
binding or binding produced by aModuleAnnotatedMethodScanner
.Listens for provisioning of objects.Encapsulates a single act of provisioning.Binds keys (picked using a Matcher) to a provision listener.A request to require explicit @Inject
annotations on constructors.A request to require exact binding annotations.A request to require explicit bindings.Registration of a scope annotation with the scope that implements it.A request to inject the static fields and methods of a type.Converts constant string values to a different type.Registration of type converters for matching target types.Context of an injectable type encounter.Binds types (picked using a Matcher) to an type listener.An untargetted binding. -
Classes in com.google.inject.spi used by com.google.inject.multibindingsClassDescriptionVisits each of the strategies used to find an instance to satisfy an injection.A core component of a module or injector.Allows extensions to scan modules for annotated methods and bind those methods as providers, similar to
@Provides
methods. -
Classes in com.google.inject.spi used by com.google.inject.servletClassDescriptionVisits each of the strategies used to find an instance to satisfy an injection.A binding to a provider instance.A Provider that is part of an extension which supports a custom BindingTargetVisitor.
-
Classes in com.google.inject.spi used by com.google.inject.spiClassDescriptionVisits each of the strategies used to scope an injection.Mapping between an element source and its permit annotations.Builds the map from each module to all the permit annotations on its module stack.Visits each of the strategies used to find an instance to satisfy an injection.A binding to the constructor of a concrete clss.A binding created from converting a bound instance to a new type.A variable that can be resolved by an injector.A request to disable circular proxies.A core component of a module or injector.Contains information about where and how an
element
was bound.Visit elements.Details about a single Guice error and supports formatting itself in the context of other Guice errors.A binding to a key exposed from an enclosed private environment.Listens for injections into instances of typeI
.A constructor, field or method that can receive injections.Node in the doubly-linked list of injectable members (fields and methods).Linked list of injectable members.Position in type hierarchy.A method signature.A request to inject the instance fields and methods of an instance.A binding to a single instance.Registration of interceptors for matching methods of matching classes.A binding to a linked key.A lookup of the members injector for a type.An error message and the context in which it occured.Allows extensions to scan modules for annotated methods and bind those methods as providers, similar to@Provides
methods.Represents a call toBinder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)
in a module.Associated to amodule
, provides the module class name, the parent modulesource
, and the call stack that ends just before the moduleconfigure(Binder)
method invocation.A private collection of elements that are hidden from the enclosing injector or module by default.A binding to aProvider
that delegates to the binding for the provided type.A binding to a provider instance.A binding to a provider key.A lookup of the provider for a type.An @Provides
binding or binding produced by aModuleAnnotatedMethodScanner
.Listens for provisioning of objects.Encapsulates a single act of provisioning.Binds keys (picked using a Matcher) to a provision listener.A request to require explicit @Inject
annotations on constructors.A request to require exact binding annotations.A request to require explicit bindings.Registration of a scope annotation with the scope that implements it.A request to inject the static fields and methods of a type.Converts constant string values to a different type.Registration of type converters for matching target types.Context of an injectable type encounter.Listens for Guice to encounter injectable types.Binds types (picked using a Matcher) to an type listener.An untargetted binding. -
Classes in com.google.inject.spi used by com.google.inject.throwingprovidersClassDescriptionA variable that can be resolved by an injector.A provider with dependencies on other injected types.
-
Classes in com.google.inject.spi used by com.google.inject.utilClassDescriptionNo-op visitor for subclassing.A variable that can be resolved by an injector.A core component of a module or injector.Visit elements.A provider with dependencies on other injected types.