Package com.google.inject.internal
Class InjectorShell.InjectorFactory
java.lang.Object
com.google.inject.internal.InjectorShell.InjectorFactory
- All Implemented Interfaces:
InternalFactory<Injector>,Provider<Injector>,javax.inject.Provider<Injector>
- Enclosing class:
- InjectorShell
private static class InjectorShell.InjectorFactory
extends Object
implements InternalFactory<Injector>, Provider<Injector>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Provides an instance ofT.get(InternalContext context, Dependency<?> dependency, boolean linked) Creates an object to be injected.toString()
-
Field Details
-
injector
-
-
Constructor Details
-
InjectorFactory
-
-
Method Details
-
get
Description copied from interface:InternalFactoryCreates an object to be injected.- Specified by:
getin interfaceInternalFactory<Injector>- Parameters:
context- of this injectionlinked- true if getting as a result of a linked binding- Returns:
- instance that was created
-
get
Description copied from interface:ProviderProvides an instance ofT. -
toString
-