Uses of Interface
com.google.inject.spi.HasDependencies
-
Packages that use HasDependencies Package Description com.google.inject.assistedinject Extension for combining factory interfaces with injection; this extension requiresguice-assistedinject.jar
.com.google.inject.grapher com.google.inject.internal Guice (sounds like "juice")com.google.inject.spi Guice service provider interfacecom.google.inject.throwingproviders Extension for injecting objects that may throw at provision time; this extension requiresguice-throwingproviders.jar
.com.google.inject.util Helper methods for working with Guice. -
-
Uses of HasDependencies in com.google.inject.assistedinject
Classes in com.google.inject.assistedinject that implement HasDependencies Modifier and Type Class Description class
FactoryProvider<F>
Deprecated.useFactoryModuleBuilder
instead.(package private) class
FactoryProvider2<F>
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 HasDependencies Modifier and Type Method Description private <T extends Binding<?> & HasDependencies>
java.util.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, java.lang.Object instance)
Returns a new instance node for the givenBinding
.Methods in com.google.inject.grapher with parameters of type HasDependencies Modifier and Type Method Description private java.util.Collection<Key<?>>
TransitiveDependencyVisitor. visitHasDependencies(HasDependencies hasDependencies)
-
Uses of HasDependencies in com.google.inject.internal
Classes in com.google.inject.internal that implement HasDependencies Modifier and Type Class Description (package private) class
ConstructorBindingImpl<T>
class
ExposedBindingImpl<T>
private static class
InjectorImpl.ConvertedConstantBindingImpl<T>
private static class
InjectorImpl.SyntheticProviderBindingImpl<T>
A framework-created JIT Providerbinding. (package private) class
InstanceBindingImpl<T>
(package private) class
InternalProviderInstanceBindingImpl<T>
AProviderInstanceBindingImpl
for implementing 'native' guice extensions.(package private) static class
InternalProviderInstanceBindingImpl.CyclicFactory<T>
An base factory implementation that can be extended to provide a specialized implementation of aProviderWithExtensionVisitor
and also implementsInternalFactory
(package private) static class
InternalProviderInstanceBindingImpl.Factory<T>
A base factory implementation.class
LinkedBindingImpl<T>
(package private) class
LinkedProviderBindingImpl<T>
(package private) class
ProviderInstanceBindingImpl<T>
class
ProviderMethod<T>
A provider that invokes a method and returns its result.private static class
ProviderMethod.ReflectionProviderMethod<T>
AProviderMethod
implementation that invokes the method using normal java reflection.private static class
RealMapBinder.MultimapBinder.RealMultimapProvider<K,V>
private static class
RealMapBinder.MultimapBinder.RealProviderMultimapProvider<K,V>
(package private) static class
RealMapBinder.ProviderMapEntry<K,V>
A factory for aMap.Entry<K, Provider<V>>
.private static class
RealMapBinder.RealMapBinderProviderWithDependencies<K,V,P>
A base class for ProviderWithDependencies that need equality based on a specific object.private static class
RealMapBinder.RealMapProvider<K,V>
private static class
RealMapBinder.RealMultimapBinderProviderWithDependencies<K,V,P>
A base class for ProviderWithDependencies that need equality based on a specific object.private static class
RealMapBinder.RealProviderMapProvider<K,V>
private static class
RealMultibinder.RealMultibinderCollectionOfProvidersProvider<T>
private static class
RealMultibinder.RealMultibinderProvider<T>
private static class
RealOptionalBinder.JavaOptionalProvider<T>
Provides the binding for java.util.Optional. private static class
RealOptionalBinder.JavaOptionalProviderProvider<T>
Provides the binding for java.util.Optional>. private static class
RealOptionalBinder.RealDirectTypeProvider<T>
Provides the binding for T, conditionally installed by calling setBinding/setDefault.private static class
RealOptionalBinder.RealOptionalBinderProviderWithDependencies<T,P>
A base class for ProviderWithDependencies that need equality based on a specific object.private static class
RealOptionalBinder.RealOptionalKeyProvider<T>
Provides the binding for Optional. private static class
RealOptionalBinder.RealOptionalProviderProvider<T>
Provides the binding for Optional>. -
Uses of HasDependencies in com.google.inject.spi
Subinterfaces of HasDependencies in com.google.inject.spi Modifier and Type Interface Description interface
ConstructorBinding<T>
A binding to the constructor of a concrete clss.interface
ConvertedConstantBinding<T>
A binding created from converting a bound instance to a new type.interface
ExposedBinding<T>
A binding to a key exposed from an enclosed private environment.interface
InstanceBinding<T>
A binding to a single instance.interface
ProviderInstanceBinding<T>
A binding to a provider instance.interface
ProviderWithDependencies<T>
A provider with dependencies on other injected types.interface
ProvidesMethodBinding<T>
An @Provides
binding or binding produced by aModuleAnnotatedMethodScanner
. -
Uses of HasDependencies in com.google.inject.throwingproviders
Subinterfaces of HasDependencies in com.google.inject.throwingproviders Modifier and Type Interface Description (package private) interface
CheckedProviderWithDependencies<T>
A checked provider with dependencies, soHasDependencies
can be implemented when using theSecondaryBinder#using
methods.Classes in com.google.inject.throwingproviders that implement HasDependencies Modifier and Type Class Description (package private) class
CheckedProviderMethod<T>
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 HasDependencies Modifier and Type Class Description private static class
Providers.GuicifiedProviderWithDependencies<T>
-