public static class InternalFactory.Instance<T> extends java.lang.Object implements InternalFactory<T>
InternalFactory.Instance<T>
Modifier and Type | Method and Description |
---|---|
T |
get(Errors errors,
InternalContext context,
Dependency<?> dependency)
Creates an object to be injected.
|
java.lang.String |
toString() |
public Instance(T object)
public T get(Errors errors, InternalContext context, Dependency<?> dependency) throws ErrorsException
InternalFactory
get
in interface InternalFactory<T>
context
- of this injectionErrorsException
- if a value cannot be providedpublic java.lang.String toString()
toString
in class java.lang.Object