Top Description Interfaces Annotations Classes
[default module]

Package com.google.inject.spi


Guice service provider interface

Interface Summary

Modifier and TypeInterface and Description
public interface
BindingScopingVisitor<
any type to be returned by the visit method. Use Void with return null if no return type is needed.
V
>

Visits each of the strategies used to scope an injection.

public interface
BindingTargetVisitor<T,
any type to be returned by the visit method. Use Void with return null if no return type is needed.
V
>

Visits each of the strategies used to find an instance to satisfy an injection.

public interface
ConstructorBinding<T>

A binding to the constructor of a concrete class.

public interface
ConvertedConstantBinding<T>

A binding created from converting a bound instance to a new type.

public interface
Element

A core component of a module or injector.

public interface
ElementVisitor<
any type to be returned by the visit method. Use Void with return null if no return type is needed.
V
>

Visit elements.

public interface
ExposedBinding<T>

A binding to a key exposed from an enclosed private environment.

public interface
HasDependencies

Implemented by bindings, providers and instances that expose their dependencies explicitly.

public interface
InjectionListener<I>

Listens for injections into instances of type I.

public interface
InstanceBinding<T>

A binding to a single instance.

public interface
LinkedKeyBinding<T>

A binding to a linked key.

public interface
PrivateElements

A private collection of elements that are hidden from the enclosing injector or module by default.

public interface
ProviderBinding<T extends Provider<?>>

A binding to a Provider that delegates to the binding for the provided type.

public interface
ProviderInstanceBinding<T>

A binding to a provider instance.

public interface
ProviderKeyBinding<T>

A binding to a provider key.

public interface
ProviderWithDependencies<T>

A provider with dependencies on other injected types.

public interface
ProviderWithExtensionVisitor<T>

A Provider that is part of an extension which supports a custom BindingTargetVisitor.

public interface
ProvidesMethodBinding<T>

An @Provides binding or binding produced by a ModuleAnnotatedMethodScanner.

public interface
ProvidesMethodTargetVisitor<T, V>

A visitor for the @Provides bindings.

public interface
ProvisionListener

Listens for provisioning of objects.

public interface
TypeConverter

Converts constant string values to a different type.

public interface
TypeEncounter<
the injectable type encountered
I
>

Context of an injectable type encounter.

public interface
TypeListener

Listens for Guice to encounter injectable types.

public interface
UntargettedBinding<T>

An untargetted binding.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Toolable

Instructs an Injector running in Stage#TOOL that a method should be injected.

Class Summary

Modifier and TypeClass and Description
public class
BindingSourceRestriction

Contains abstractions for enforcing RestrictedBindingSource.

public class
DefaultBindingScopingVisitor<
any type to be returned by the visit method. Use Void with return null if no return type is needed.
V
>

No-op visitor for subclassing.

public abstract class
DefaultBindingTargetVisitor<T,
any type to be returned by the visit method. Use Void with return null if no return type is needed.
V
>

No-op visitor for subclassing.

public abstract class
DefaultElementVisitor<
any type to be returned by the visit method. Use Void with return null if no return type is needed.
V
>

No-op visitor for subclassing.

public class
Dependency<T>

A variable that can be resolved by an injector.

public class
DisableCircularProxiesOption

A request to disable circular proxies.

public class
Elements

Exposes elements of a module so they can be inspected, validated or rewritten.

public class
ElementSource

Contains information about where and how an element was bound.

public abstract class
ErrorDetail<SelfT extends ErrorDetail<SelfT>>

Details about a single Guice error and supports formatting itself in the context of other Guice errors.

public class
InjectionPoint

A constructor, field or method that can receive injections.

public class
InjectionRequest<T>

A request to inject the instance fields and methods of an instance.

public class
InterceptorBinding

Registration of interceptors for matching methods of matching classes.

public class
MembersInjectorLookup<T>

A lookup of the members injector for a type.

public class
Message

An error message and the context in which it occurred.

public abstract class
ModuleAnnotatedMethodScanner

Allows extensions to scan modules for annotated methods and bind those methods as providers, similar to @Provides methods.

public class
pack-priv class
ModuleSource

Associated to a module, provides the module class name, the parent module source, and the call stack that ends just before the module configure(Binder) method invocation.

public class
ProviderLookup<T>

A lookup of the provider for a type.

public class
ProvisionListenerBinding

Binds keys (picked using a Matcher) to a provision listener.

public class
RequireAtInjectOnConstructorsOption

A request to require explicit @Inject annotations on constructors.

public class
RequireExactBindingAnnotationsOption

A request to require exact binding annotations.

public class
RequireExplicitBindingsOption

A request to require explicit bindings.

public class
ScopeBinding

Registration of a scope annotation with the scope that implements it.

public class
StaticInjectionRequest

A request to inject the static fields and methods of a type.

public class
TypeConverterBinding

Registration of type converters for matching target types.

public class
TypeListenerBinding

Binds types (picked using a Matcher) to an type listener.