private static class InjectorShell.InjectorFactory extends java.lang.Object implements InternalFactory<Injector>, Provider<Injector>
| Modifier | Constructor and Description |
|---|---|
private |
InjectorFactory(Injector injector) |
| Modifier and Type | Method and Description |
|---|---|
Injector |
get()
Provides an instance of
T. |
Injector |
get(Errors errors,
InternalContext context,
Dependency<?> dependency,
boolean linked)
Creates an object to be injected.
|
java.lang.String |
toString() |
private final Injector injector
private InjectorFactory(Injector injector)
public Injector get(Errors errors, InternalContext context, Dependency<?> dependency, boolean linked) throws ErrorsException
InternalFactoryget in interface InternalFactory<Injector>context - of this injectionlinked - true if getting as a result of a linked bindingErrorsException - if a value cannot be providedpublic Injector get()
ProviderT. Must never return null.get in interface javax.inject.Provider<Injector>public java.lang.String toString()
toString in class java.lang.Object