Injector creation when working with dependency injection.
| Modifier and Type | Method and Description |
|---|---|
| public default Injector | Returns: - Ancom. instance that can be used to perform dependency
injection.- Parent parent, Stage com. instance that was built with parent
injector- A stage, Module... Stage object that defines the appropriate stage- An array of modules)Module
|
| getInjector | back to summary |
|---|---|
public default Injector getInjector(Injector parent, Stage stage, Module... modules)
| |