Interface IInjectorFactory
- All Known Implementing Classes:
GuiceBackedInjectorFactory
public interface IInjectorFactory
Allows customization of the
Injector creation when working with dependency injection.-
Method Summary
Modifier and TypeMethodDescriptiondefault com.google.inject.InjectorgetInjector(com.google.inject.Injector parent, com.google.inject.Stage stage, com.google.inject.Module... modules)
-
Method Details
-
getInjector
default com.google.inject.Injector getInjector(@Nullable com.google.inject.Injector parent, com.google.inject.Stage stage, com.google.inject.Module... modules) - Parameters:
parent- - ParentInjectorinstance that was built with parent injectorstage- - AStageobject that defines the appropriate stagemodules- - An array ofModule- Returns:
- - An
Injectorinstance that can be used to perform dependency injection.
-