Packages

package model

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package definition
  2. package exceptions
  3. package plan
  4. package planning
  5. package providers
  6. package provisioning
  7. package recursive
  8. package references
  9. package reflection

Type Members

  1. 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

  2. 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
  3. 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.

    See also

    izumi.distage.model.Injector

    izumi.distage.model.Planner

    izumi.distage.model.Producer

  4. trait Planner extends AnyRef

    Transforms izumi.distage.model.definition.ModuleDef into izumi.distage.model.plan.Plan

  5. final case class PlannerInput(bindings: ModuleBase, roots: Roots, activation: Activation, locatorPrivacy: LocatorPrivacy) 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 as roots 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.

  6. 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 in F effect type on failure

Value Members

  1. object Locator
  2. object PlannerInput extends Serializable

Ungrouped