Uses of Class
com.google.inject.internal.BindingImpl
-
Packages that use BindingImpl Package Description com.google.inject.internal Guice (sounds like "juice") -
-
Uses of BindingImpl in com.google.inject.internal
Subclasses of BindingImpl in com.google.inject.internal 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.class
LinkedBindingImpl<T>
(package private) class
LinkedProviderBindingImpl<T>
(package private) class
ProviderInstanceBindingImpl<T>
(package private) class
UntargettedBindingImpl<T>
Fields in com.google.inject.internal declared as BindingImpl Modifier and Type Field Description (package private) BindingImpl<T>
RealOptionalBinder.BindingSelection. actualBinding
private BindingImpl<T>
AbstractBindingBuilder. binding
(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection. binding
(package private) BindingImpl<?>
SingleFieldInjector. binding
(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection. defaultBinding
private BindingImpl<T>
ExposedKeyFactory. delegate
(package private) BindingImpl<T>
InjectorImpl.SyntheticProviderBindingImpl. providedBinding
private BindingImpl<? extends javax.inject.Provider<T>>
ProvidedByInternalFactory. providerBinding
Fields in com.google.inject.internal with type parameters of type BindingImpl Modifier and Type Field Description (package private) java.util.Map<Key<?>,BindingImpl<?>>
InjectorImpl. jitBindings
Just-in-time binding cache.Methods in com.google.inject.internal that return BindingImpl Modifier and Type Method Description protected BindingImpl<T>
AbstractBindingBuilder. annotatedWithInternal(java.lang.annotation.Annotation annotation)
Sets the binding to a copy with the specified annotation on the bound keyprotected BindingImpl<T>
AbstractBindingBuilder. annotatedWithInternal(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Sets the binding to a copy with the specified annotation on the bound keyprivate <T> BindingImpl<T>
InjectorImpl. convertConstantStringBinding(Key<T> key, Errors errors)
Converts a constant string binding to the required type.private <T> BindingImpl<T>
InjectorImpl. createImplementedByBinding(Key<T> key, Scoping scoping, ImplementedBy implementedBy, Errors errors)
Creates a binding for a type annotated with @ImplementedBy.private <T> BindingImpl<T>
InjectorImpl. createJustInTimeBinding(Key<T> key, Errors errors, boolean jitDisabled, InjectorImpl.JitLimitation jitType)
Returns a new just-in-time binding created by resolvingkey
.private <T> BindingImpl<T>
InjectorImpl. createJustInTimeBindingRecursive(Key<T> key, Errors errors, boolean jitDisabled, InjectorImpl.JitLimitation jitType)
Attempts to create a just-in-time binding forkey
in the root injector, falling back to other ancestor injectors until this injector is tried.private <T> BindingImpl<MembersInjector<T>>
InjectorImpl. createMembersInjectorBinding(Key<MembersInjector<T>> key, Errors errors)
(package private) <T> BindingImpl<T>
InjectorImpl. createProvidedByBinding(Key<T> key, Scoping scoping, ProvidedBy providedBy, Errors errors)
Creates a binding for a type annotated with @ProvidedBy.private <T> BindingImpl<Provider<T>>
InjectorImpl. createSyntheticProviderBinding(Key<Provider<T>> key, Errors errors)
Creates a synthetic binding toProvider<T>
, i.e.private <T> BindingImpl<TypeLiteral<T>>
InjectorImpl. createTypeLiteralBinding(Key<TypeLiteral<T>> key, Errors errors)
Converts a binding for aKey<TypeLiteral<T>>
to the valueTypeLiteral<T>
.(package private) <T> BindingImpl<T>
InjectorImpl. createUninitializedBinding(Key<T> key, Scoping scoping, java.lang.Object source, Errors errors, boolean jitBinding)
Creates a binding for an injectable type with the given scope.(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection. getActualBinding()
protected BindingImpl<T>
AbstractBindingBuilder. getBinding()
<T> BindingImpl<T>
InjectorImpl. getBinding(Key<T> key)
Returns the binding forkey
(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection. getBinding()
(package private) <T> BindingImpl<T>
InjectorImpl. getBindingOrThrow(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType)
Gets a binding implementation.(package private) BindingImpl<T>
RealOptionalBinder.BindingSelection. getDefaultBinding()
<T> BindingImpl<T>
InjectorImpl. getExistingBinding(Key<T> key)
<T> BindingImpl<T>
InheritingState. getExplicitBinding(Key<T> key)
<T> BindingImpl<T>
State. getExplicitBinding(Key<T> key)
Gets a binding which was specified explicitly in a module, or null.private <T> BindingImpl<T>
InjectorImpl. getJustInTimeBinding(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType)
Returns a just-in-time binding forkey
, creating it if necessary.protected BindingImpl<T>
AbstractBindingBuilder. setBinding(BindingImpl<T> binding)
protected BindingImpl<T>
BindingImpl. withKey(Key<T> key)
protected BindingImpl<T>
ConstructorBindingImpl. withKey(Key<T> key)
BindingImpl<T>
InstanceBindingImpl. withKey(Key<T> key)
BindingImpl<T>
LinkedBindingImpl. withKey(Key<T> key)
BindingImpl<T>
LinkedProviderBindingImpl. withKey(Key<T> key)
BindingImpl<T>
ProviderInstanceBindingImpl. withKey(Key<T> key)
BindingImpl<T>
UntargettedBindingImpl. withKey(Key<T> key)
protected BindingImpl<T>
BindingImpl. withScoping(Scoping scoping)
protected BindingImpl<T>
ConstructorBindingImpl. withScoping(Scoping scoping)
BindingImpl<T>
InstanceBindingImpl. withScoping(Scoping scoping)
BindingImpl<T>
LinkedBindingImpl. withScoping(Scoping scoping)
BindingImpl<T>
LinkedProviderBindingImpl. withScoping(Scoping scoping)
BindingImpl<T>
ProviderInstanceBindingImpl. withScoping(Scoping scoping)
BindingImpl<T>
UntargettedBindingImpl. withScoping(Scoping scoping)
Methods in com.google.inject.internal with parameters of type BindingImpl Modifier and Type Method Description private boolean
InjectorImpl. cleanup(BindingImpl<?> binding, java.util.Set<Key> encountered)
Iterates through the binding's dependencies to clean up any stray bindings that were leftover from a failed JIT binding.private java.util.Set<Dependency<?>>
InjectorImpl. getInternalDependencies(BindingImpl<?> binding)
Safely gets the dependencies of possibly not initialized bindings.private void
AbstractBindingProcessor.Processor. initializeBinding(BindingImpl<?> binding)
(package private) <T> void
InjectorImpl. initializeBinding(BindingImpl<T> binding, Errors errors)
(package private) <T> void
InjectorImpl. initializeJitBinding(BindingImpl<T> binding, Errors errors)
private boolean
InternalInjectorCreator. isEagerSingleton(InjectorImpl injector, BindingImpl<?> binding, Stage stage)
private boolean
AbstractBindingProcessor. isOkayDuplicate(BindingImpl<?> original, BindingImpl<?> binding, State state)
We tolerate duplicate bindings if one exposes the other or if the two bindings are considered duplicates (seeBindings#areDuplicates(BindingImpl, BindingImpl)
.protected void
AbstractBindingProcessor. putBinding(BindingImpl<?> binding)
void
InheritingState. putBinding(Key<?> key, BindingImpl<?> binding)
void
State. putBinding(Key<?> key, BindingImpl<?> binding)
protected void
AbstractBindingProcessor.Processor. scheduleDelayedInitialization(BindingImpl<?> binding)
Schedule initialization for this binding to occur after all other static initialization of bindings.protected void
AbstractBindingProcessor.Processor. scheduleInitialization(BindingImpl<?> binding)
Schedule initialization of this binding to occur immediately after all bindings have been initialially processed.protected BindingImpl<T>
AbstractBindingBuilder. setBinding(BindingImpl<T> binding)
Constructors in com.google.inject.internal with parameters of type BindingImpl Constructor Description Processor(BindingImpl<T> binding)
SingleParameterInjector(Dependency<T> dependency, BindingImpl<? extends T> binding)
-