Package com.google.inject.spi
package com.google.inject.spi
Guice service provider interface
-
ClassDescriptionVisits each of the strategies used to scope an injection.Contains abstractions for enforcing
RestrictedBindingSource
.BindingTargetVisitor<T,V> Visits each of the strategies used to find an instance to satisfy an injection.A binding to the constructor of a concrete class.A binding created from converting a bound instance to a new type.No-op visitor for subclassing.No-op visitor for subclassing.No-op visitor for subclassing.Dependency<T>A variable that can be resolved by an injector.A request to disable circular proxies.A core component of a module or injector.Exposes elements of a module so they can be inspected, validated orrewritten
.Contains information about where and how anelement
was bound.Visit elements.ErrorDetail<SelfT extends ErrorDetail<SelfT>>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 occurred.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.ProviderBinding<T extends Provider<?>>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 with dependencies on other injected types.A Provider that is part of an extension which supports a custom BindingTargetVisitor.An @Provides
binding or binding produced by aModuleAnnotatedMethodScanner
.A visitor for the @Provides
bindings.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.Instructs anInjector
running inStage.TOOL
that a method should be injected.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.