Top Description Methods
com.google.inject.internal

pack-priv Interface InternalFactory<T>

Known Direct Implementers
com.google.inject.internal.InternalFactoryToProviderAdapter, com.google.inject.internal.InternalProviderInstanceBindingImpl.Factory, com.google.inject.internal.ProviderInternalFactory, com.google.inject.internal.ExposedKeyFactory, com.google.inject.internal.FactoryProxy, com.google.inject.internal.InjectorShell.InjectorFactory, com.google.inject.internal.InjectorShell.LoggerFactory, com.google.inject.internal.ConstantFactory, com.google.inject.internal.ConstructorBindingImpl.Factory
Imports
com.google.inject.spi.Dependency

Creates objects which will be injected.
Author
[email protected] (Bob Lee)

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

instance that was created
get
(InternalContext
of this injection
context
,
Dependency<?> dependency, boolean
true if getting as a result of a linked binding
linked
)

Creates an object to be injected.

Method Detail

getback to summary
public T get(InternalContext context, Dependency<?> dependency, boolean linked) throws InternalProvisionException

Creates an object to be injected.

Parameters
context:InternalContext

of this injection

linked:boolean

true if getting as a result of a linked binding

Returns:T

instance that was created

Exceptions
InternalProvisionException:
if a value cannot be provided