Uses of Interface
com.google.inject.spi.HasDependencies
Packages that use HasDependencies
Package
Description
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar
.Guice (sounds like "juice")
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.
-
Uses of HasDependencies in com.google.inject.assistedinject
Classes in com.google.inject.assistedinject that implement HasDependenciesModifier and TypeClassDescriptionclass
Deprecated.(package private) final class
The newer implementation of factory provider. -
Uses of HasDependencies in com.google.inject.grapher
Methods in com.google.inject.grapher with type parameters of type HasDependenciesModifier and TypeMethodDescriptionprivate <T extends Binding<?> & HasDependencies>
Collection<Edge> DefaultEdgeCreator.EdgeVisitor.newDependencyEdges
(NodeId nodeId, T binding) Returns a dependency edge for eachDependency
in the binding.private <T extends Binding<?> & HasDependencies>
InstanceNodeDefaultNodeCreator.NodeVisitor.newInstanceNode
(T binding, Object instance) Returns a new instance node for the givenBinding
.Methods in com.google.inject.grapher with parameters of type HasDependenciesModifier and TypeMethodDescriptionprivate Collection
<Key<?>> TransitiveDependencyVisitor.visitHasDependencies
(HasDependencies hasDependencies) -
Uses of HasDependencies in com.google.inject.internal
Classes in com.google.inject.internal that implement HasDependenciesModifier and TypeClassDescription(package private) final class
(package private) final class
private static class
private static class
A framework-created JIT Providerbinding. (package private) final class
(package private) final class
AProviderInstanceBindingImpl
for implementing 'native' guice extensions.(package private) static class
An base factory implementation that can be extended to provide a specialized implementation of aProviderWithExtensionVisitor
and also implementsInternalFactory
(package private) static class
A base factory implementation.(package private) final class
(package private) final class
(package private) class
class
A provider that invokes a method and returns its result.private static final class
AProviderMethod
implementation that uses bytecode generation to invoke the provider method.private static final class
AProviderMethod
implementation that invokes the method using normal java reflection.private static final class
Implementation of a provider instance for the map that also exposes details about the MapBinder using the extension SPI, delegating to another provider instance for non-extension (e.g, the actual provider instance info) data.private static final class
private static final class
(package private) static final class
A factory for aMap.Entry<K, Provider<V>>
.private static class
A base class for ProviderWithDependencies that need equality based on a specific object.private static final class
private static class
A base class for ProviderWithDependencies that need equality based on a specific object.private static final class
private static class
RealMultibinder.BaseFactory<ValueT,
ProvidedT> Base implement ofInternalProviderInstanceBindingImpl.Factory
that works based on aRealMultibinder.BindingSelection
, allowing provider instances for various bindings to be implemented with less duplication.private static final class
Implementation of BaseFactory that exposes details about the multibinder through the extension SPI.private static final class
Implementation of BaseFactory that exposes a collection of providers of the values in the set.private static final class
Provider instance implementation that provides the actual set of values.private static final class
Provides the binding for java.util.Optional. private static final class
Provides the binding for java.util.Optionalinvalid input: '<'Provider>. private static final class
Provides the binding for T, conditionally installed by calling setBinding/setDefault.private static class
A base class for ProviderWithDependencies that need equality based on a specific object.private static final class
Provides the binding for Optional. private static final class
Provides the binding for Optionalinvalid input: '<'Provider>. -
Uses of HasDependencies in com.google.inject.spi
Subinterfaces of HasDependencies in com.google.inject.spiModifier and TypeInterfaceDescriptioninterface
A binding to the constructor of a concrete clss.interface
A binding created from converting a bound instance to a new type.interface
A binding to a key exposed from an enclosed private environment.interface
A binding to a single instance.interface
A binding to a provider instance.interface
A provider with dependencies on other injected types.interface
An @Provides
binding or binding produced by aModuleAnnotatedMethodScanner
. -
Uses of HasDependencies in com.google.inject.throwingproviders
Subinterfaces of HasDependencies in com.google.inject.throwingprovidersModifier and TypeInterfaceDescription(package private) interface
A checked provider with dependencies, soHasDependencies
can be implemented when using theinvalid reference
SecondaryBinder#using
Classes in com.google.inject.throwingproviders that implement HasDependenciesModifier and TypeClassDescription(package private) class
A provider that invokes a method and returns its result. -
Uses of HasDependencies in com.google.inject.util
Classes in com.google.inject.util that implement HasDependenciesModifier and TypeClassDescriptionprivate static final class
FactoryModuleBuilder
instead.