Guice service provider interface
Interface Summary Interface Description BindingScopingVisitor<V>Visits each of the strategies used to scope an injection. BindingTargetVisitor<T,V>Visits each of the strategies used to find an instance to satisfy an injection. ConstructorBinding<T>A binding to the constructor of a concrete class. ConvertedConstantBinding<T>A binding created from converting a bound instance to a new type. ElementA core component of a module or injector. ElementVisitor<V>Visit elements. ExposedBinding<T>A binding to a key exposed from an enclosed private environment. HasDependencies InjectionListener<I>Listens for injections into instances of type
InstanceBinding<T>A binding to a single instance. LinkedKeyBinding<T>A binding to a linked key. PrivateElementsA private collection of elements that are hidden from the enclosing injector or module by default. ProviderBinding<T extends Provider<?>>A binding to a
Providerthat delegates to the binding for the provided type.
ProviderInstanceBinding<T>A binding to a provider instance. ProviderKeyBinding<T>A binding to a provider key. ProviderWithDependencies<T>A provider with dependencies on other injected types. ProviderWithExtensionVisitor<T>A Provider that is part of an extension which supports a custom BindingTargetVisitor. ProvidesMethodBinding<T> ProvidesMethodTargetVisitor<T,V>A visitor for the @
ProvisionListenerListens for provisioning of objects. TypeConverterConverts constant string values to a different type. TypeEncounter<I>Context of an injectable type encounter. TypeListenerListens for Guice to encounter injectable types. UntargettedBinding<T>An untargetted binding.
Class Summary Class Description BindingSourceRestrictionContains abstractions for enforcing
DefaultBindingScopingVisitor<V>No-op visitor for subclassing. DefaultBindingTargetVisitor<T,V>No-op visitor for subclassing. DefaultElementVisitor<V>No-op visitor for subclassing. Dependency<T>A variable that can be resolved by an injector. DisableCircularProxiesOptionA request to disable circular proxies. ElementsExposes elements of a module so they can be inspected, validated or
ElementSourceContains information about where and how an
ErrorDetail<SelfT extends ErrorDetail<SelfT>>Details about a single Guice error and supports formatting itself in the context of other Guice errors. InjectionPointA constructor, field or method that can receive injections. InjectionRequest<T>A request to inject the instance fields and methods of an instance. InterceptorBindingRegistration of interceptors for matching methods of matching classes. MembersInjectorLookup<T>A lookup of the members injector for a type. MessageAn error message and the context in which it occurred. ModuleAnnotatedMethodScannerAllows extensions to scan modules for annotated methods and bind those methods as providers, similar to
ModuleAnnotatedMethodScannerBindingRepresents a call to
Binder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)in a module.
ProviderLookup<T>A lookup of the provider for a type. ProvisionListener.ProvisionInvocation<T>Encapsulates a single act of provisioning. ProvisionListenerBindingBinds keys (picked using a Matcher) to a provision listener. RequireAtInjectOnConstructorsOptionA request to require explicit @
Injectannotations on constructors.
RequireExactBindingAnnotationsOptionA request to require exact binding annotations. RequireExplicitBindingsOptionA request to require explicit bindings. ScopeBindingRegistration of a scope annotation with the scope that implements it. StaticInjectionRequestA request to inject the static fields and methods of a type. TypeConverterBindingRegistration of type converters for matching target types. TypeListenerBindingBinds types (picked using a Matcher) to an type listener.
Annotation Types Summary Annotation Type Description Toolable