InjectionScope
An injection scope provides an entrypoint for components to retrieve the dependencies they need.
This should be passed as a constructor parameter to components that require injection. Use the InjectionScope.invoke operator to retrieve dependencies.
Functions
Create an injector for the given identifier. The behavior of the injection depends on the injection environment, but this is guaranteed to return an element of type T.
Create an injector for the given identifier. If such an identifier cannot be found within the environment, returns null (unlike inject which throws a ComponentNotFoundException).
Properties
Inheritors
Extensions
DSL for injecting factory-made objects. Usage is factory from scope
.
Create an injector for the given identifier. See InjectionScope.inject for more information.