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