interface InternalFactory<T>
Modifier and Type | Method and Description |
---|---|
T |
get(InternalContext context,
Dependency<?> dependency,
boolean linked)
Creates an object to be injected.
|
T get(InternalContext context, Dependency<?> dependency, boolean linked) throws InternalProvisionException
context
- of this injectionlinked
- true if getting as a result of a linked bindingInternalProvisionException
- if a value cannot be provided