InternalFactory.Instancepublic interface InternalFactory<T>
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
InternalFactory.Instance<T> |
ES:
An factory that returns a pre created instance.
|
| Modifier and Type | Method | 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