public interface InternalFactory<T>
Modifier and Type | Interface and Description |
---|---|
static class |
InternalFactory.Instance<T>
ES:
An factory that returns a pre created instance.
|
Modifier and Type | Method and Description |
---|---|
T |
get(Errors errors,
InternalContext context,
Dependency<?> dependency)
Creates an object to be injected.
|
T get(Errors errors, InternalContext context, Dependency<?> dependency) throws ErrorsException
context
- of this injectionErrorsException
- if a value cannot be provided