izumi.distage.model

Members list

Concise view

Type members

Classlikes

trait Locator

The object graph created by executing a plan. Can be queried for contained objects.

The object graph created by executing a plan. Can be queried for contained objects.

Attributes

See also:
Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Locator

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Locator.type
trait Planner

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
final case class PlannerInput(bindings: ModuleBase, activation: Activation, roots: Roots)

Input for Planner

Input for Planner

Attributes

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.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Producer

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

Attributes

Throws:
izumi.distage.model.exceptions.runtime.ProvisioningException

produce* methods raise this exception in F effect type on failure

Graph
Supertypes
class Object
trait Matchable
class Any