Interface InternalFactory<T>
-
- All Known Implementing Classes:
InternalFactory.Instance
public interface InternalFactory<T>Creates objects which will be injected.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInternalFactory.Instance<T>ES: An factory that returns a pre created instance.
-
Method Summary
Modifier and Type Method Description Tget(Errors errors, InternalContext context, Dependency<?> dependency)Creates an object to be injected.
-
-
-
Method Detail
-
get
T get(Errors errors, InternalContext context, Dependency<?> dependency) throws ErrorsException
Creates an object to be injected.- Parameters:
context- of this injection- Returns:
- instance to be injected
- Throws:
ErrorsException- if a value cannot be provided
-
-