Package | Description |
---|---|
com.google.inject.internal |
Guice (sounds like "juice")
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
BoundProviderFactory<T>
Delegates to a custom factory which is also bound in the injector.
|
(package private) class |
ConstantFactory<T> |
private static class |
ConstructorBindingImpl.Factory<T> |
(package private) class |
ExposedKeyFactory<T>
This factory exists in a parent injector.
|
(package private) class |
FactoryProxy<T>
A placeholder which enables us to swap in the real factory once the injector is created.
|
private static class |
InjectorShell.InjectorFactory |
private static class |
InjectorShell.LoggerFactory |
(package private) class |
InternalFactoryToInitializableAdapter<T>
Adapts
ProviderInstanceBinding providers, ensuring circular proxies fail (or proxy)
properly. |
(package private) class |
InternalFactoryToProviderAdapter<T> |
(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.
|
(package private) class |
ProvidedByInternalFactory<T>
An
InternalFactory for @ProvidedBy bindings. |
(package private) class |
ProviderInternalFactory<T>
Base class for InternalFactories that are used by Providers, to handle circular dependencies.
|
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 | Field and Description |
---|---|
private InternalFactory<? extends T> |
RealOptionalBinder.RealOptionalKeyProvider.delegate |
private InternalFactory<? extends T> |
SingleParameterInjector.factory |
private InternalFactory<? extends T> |
ProviderToInternalFactoryAdapter.internalFactory |
private InternalFactory<? extends T> |
BindingImpl.internalFactory |
private InternalFactory<? extends javax.inject.Provider<? extends T>> |
BoundProviderFactory.providerFactory |
private InternalFactory<? extends T> |
RealOptionalBinder.JavaOptionalProvider.target |
private InternalFactory<? extends T> |
FactoryProxy.targetFactory |
private InternalFactory<? extends T> |
RealOptionalBinder.RealDirectTypeProvider.targetFactory |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> InternalFactory<Provider<T>> |
InjectorImpl.SyntheticProviderBindingImpl.createInternalFactory(Binding<T> providedBinding) |
InternalFactory<? extends T> |
BindingImpl.getInternalFactory() |
(package private) <T> InternalFactory<? extends T> |
InjectorImpl.getInternalFactory(Key<T> key,
Errors errors,
InjectorImpl.JitLimitation jitType) |
(package private) static <T> InternalFactory<? extends T> |
Scoping.scope(Key<T> key,
InjectorImpl injector,
InternalFactory<? extends T> creator,
java.lang.Object source,
Scoping scoping)
Scopes an internal factory.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <T> LinkedProviderBindingImpl<T> |
LinkedProviderBindingImpl.createWithInitializer(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends javax.inject.Provider<? extends T>> providerKey,
DelayedInitialize delayedInitializer) |
(package private) static <T> InternalFactory<? extends T> |
Scoping.scope(Key<T> key,
InjectorImpl injector,
InternalFactory<? extends T> creator,
java.lang.Object source,
Scoping scoping)
Scopes an internal factory.
|
Constructor and Description |
---|
BindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping) |
ConstructorBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> scopedFactory,
Scoping scoping,
ConstructorBindingImpl.Factory<T> factory,
InjectionPoint constructorInjectionPoint) |
ExposedBindingImpl(InjectorImpl injector,
java.lang.Object source,
Key<T> key,
InternalFactory<T> factory,
PrivateElements privateElements) |
InstanceBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
java.util.Set<InjectionPoint> injectionPoints,
T instance) |
InternalProviderInstanceBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalProviderInstanceBindingImpl.Factory<T> originalFactory,
InternalFactory<? extends T> scopedFactory,
Scoping scoping) |
LinkedBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends T> targetKey) |
LinkedProviderBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends javax.inject.Provider<? extends T>> providerKey) |
LinkedProviderBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends javax.inject.Provider<? extends T>> providerKey,
DelayedInitialize delayedInitializer) |
ProviderInstanceBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
javax.inject.Provider<? extends T> providerInstance,
java.util.Set<InjectionPoint> injectionPoints) |
ProviderToInternalFactoryAdapter(InjectorImpl injector,
InternalFactory<? extends T> internalFactory) |