package model
- Alphabetic
- Public
- Protected
Package Members
- package definition
- package exceptions
- package plan
- package planning
- package providers
- package provisioning
- package recursive
- package references
- package reflection
Type Members
- trait Injector[F[_]] extends Planner with Producer
Injector creates object graphs (izumi.distage.model.Locators) from a izumi.distage.model.definition.ModuleDef or from an izumi.distage.model.plan.Plan
Injector creates object graphs (izumi.distage.model.Locators) from a izumi.distage.model.definition.ModuleDef or from an izumi.distage.model.plan.Plan
- final case class InjectorProvidedEnv(injectorFactory: InjectorFactory, bootstrapModule: BootstrapModule, bootstrapLocator: Locator, defaultModule: izumi.distage.model.definition.Module @izumi.distage.model.definition.Id("defaultModule"), planner: Planner, interpreter: PlanInterpreter) extends Product with Serializable
- trait Locator extends AnyRef
The object graph created by executing a
plan
.The object graph created by executing a
plan
. Can be queried for contained objects. - trait Planner extends AnyRef
Transforms izumi.distage.model.definition.ModuleDef into izumi.distage.model.plan.Plan
- final case class PlannerInput(bindings: ModuleBase, activation: Activation, roots: Roots) extends Product with Serializable
Input for Planner
Input for Planner
- bindings
Bindings. Can be created using izumi.distage.model.definition.ModuleDef DSL
- roots
Garbage collection roots. distage will ignore all bindings that aren't transitive dependencies of the chosen Root keys from the plan - they will never be instantiated. Effectively, the choice of roots selects a *sub-graph* of the largest possible object graph that can be described by
bindings
- the sub-graph that only includes components designated asroots
and their transitive dependencies. On izumi.distage.model.plan.Roots.Everything garbage collection will not be performed – that would be equivalent to designating _all_ DIKeys as roots.
- trait Producer extends AnyRef
Executes instructions in izumi.distage.model.plan.Plan to produce a izumi.distage.model.Locator
Executes instructions in izumi.distage.model.plan.Plan to produce a izumi.distage.model.Locator
- Exceptions thrown
izumi.distage.model.exceptions.runtime.ProvisioningException
produce* methods raise this exception inF
effect type on failure
Value Members
- object Locator
- object PlannerInput extends Serializable