izumi.distage.model.Locator
See theLocator companion object The object graph created by executing a plan
.
Can be queried for contained objects.
Attributes See also: izumi.distage.model.Injector
Companion: object Graph Reset zoom Hide graph Show graph
Supertypes class Object
trait Matchable
class Any
Known subtypes Members list Concise view
Value members
Attributes Returns: Only instances directly contained in this
Locator, NOT instances in its parent Locators.
Returned keys will be unique.
Objects in this locator in order of creation
Objects in this locator in order of creation
Attributes Returns: Only instances directly contained in this
Locator, NOT instances in its parent Locators.
Returned keys will be unique.
The plan that produced this object graph
The plan that produced this object graph
Attributes
Attributes Returns: ALL instances contained in this
locator and in all the parent locators, including injector bootstrap environment.
Returned keys may overlap if parent locators contain objects for the same key. Instances from parent locators will be
earlier in the list than instances from this locator.
See also: izumi.distage.bootstrap.BootstrapLocator
Run function
filling all the arguments from the object graph.
Run function
filling all the arguments from the object graph.
Works similarly to function bindings in izumi.distage.model.definition.ModuleDef .
objects.run {
(hellower: Hellower, bye: Byer) =>
hellower.hello()
byer.bye()
}
Attributes See also:
Same as run but returns None
if any of the arguments could not be fulfilled
Same as run but returns None
if any of the arguments could not be fulfilled
Attributes