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 TypeClassDescriptionclassDeprecated.(package private) final classThe 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 eachDependencyin 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 classfinal classprivate static classprivate static classA framework-created JIT Providerbinding. (package private) final class(package private) final classAProviderInstanceBindingImplfor implementing 'native' guice extensions.(package private) static classAn base factory implementation that can be extended to provide a specialized implementation of aProviderWithExtensionVisitorand also implementsInternalFactory(package private) static classA base factory implementation.final class(package private) final class(package private) classclassA provider that invokes a method and returns its result.private static final classAProviderMethodimplementation that invokes the method using normal java reflection.private static final classprivate static final class(package private) static final classA factory for aMap.Entry<K, Provider<V>>.private static classA base class for ProviderWithDependencies that need equality based on a specific object.private static final classprivate static classA base class for ProviderWithDependencies that need equality based on a specific object.private static final classprivate static final classprivate static final classprivate static final classProvides the binding for java.util.Optional. private static final classProvides the binding for java.util.Optional<Provider>. private static final classProvides the binding for T, conditionally installed by calling setBinding/setDefault.private static classA base class for ProviderWithDependencies that need equality based on a specific object.private static final classProvides the binding for Optional. private static final classProvides the binding for Optional<Provider>. -
Uses of HasDependencies in com.google.inject.spi
Subinterfaces of HasDependencies in com.google.inject.spiModifier and TypeInterfaceDescriptioninterfaceA binding to the constructor of a concrete clss.interfaceA binding created from converting a bound instance to a new type.interfaceA binding to a key exposed from an enclosed private environment.interfaceA binding to a single instance.interfaceA binding to a provider instance.interfaceA provider with dependencies on other injected types.interfaceAn @Providesbinding 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) interfaceA checked provider with dependencies, soHasDependenciescan be implemented when using theSecondaryBinder#usingmethods.Classes in com.google.inject.throwingproviders that implement HasDependenciesModifier and TypeClassDescription(package private) classA 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
FactoryModuleBuilderinstead.