Package | Description |
---|---|
com.google.inject.assistedinject |
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar . |
com.google.inject.grapher | |
com.google.inject.internal |
Guice (sounds like "juice")
|
com.google.inject.spi |
Guice service provider interface
|
com.google.inject.throwingproviders |
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar . |
com.google.inject.util |
Helper methods for working with Guice.
|
Modifier and Type | Class and Description |
---|---|
class |
FactoryProvider<F>
Deprecated.
use
FactoryModuleBuilder instead. |
(package private) class |
FactoryProvider2<F>
The newer implementation of factory provider.
|
Modifier and Type | Method and Description |
---|---|
private <T extends Binding<?> & HasDependencies> |
DefaultEdgeCreator.EdgeVisitor.newDependencyEdges(NodeId nodeId,
T binding)
Returns a dependency edge for each
Dependency in the binding. |
private <T extends Binding<?> & HasDependencies> |
DefaultNodeCreator.NodeVisitor.newInstanceNode(T binding,
java.lang.Object instance)
Returns a new instance node for the given
Binding . |
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<Key<?>> |
TransitiveDependencyVisitor.visitHasDependencies(HasDependencies hasDependencies) |
Modifier and Type | Class and 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 Provider
|
(package private) class |
InstanceBindingImpl<T> |
(package private) class |
InternalProviderInstanceBindingImpl<T>
A
ProviderInstanceBindingImpl 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
a
ProviderWithExtensionVisitor and also implements InternalFactory |
(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>
A
ProviderMethod 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 a
Map.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
|
Modifier and Type | Interface and 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 a ModuleAnnotatedMethodScanner . |
Modifier and Type | Interface and Description |
---|---|
(package private) interface |
CheckedProviderWithDependencies<T>
A checked provider with dependencies, so
HasDependencies can be implemented when using
the SecondaryBinder#using methods. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
CheckedProviderMethod<T>
A provider that invokes a method and returns its result.
|
Modifier and Type | Class and Description |
---|---|
private static class |
Providers.GuicifiedProviderWithDependencies<T> |