izumi.distage.model

Members list

Type members

Classlikes

trait Injector[F[_]] extends Planner, Producer

Attributes

See also
Companion
object
Supertypes
trait Producer
trait Planner
class Object
trait Matchable
class Any
Known subtypes
object Injector extends InjectorFactory

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Injector.type
final case class InjectorProvidedEnv(injectorFactory: InjectorFactory, bootstrapModule: BootstrapModule, bootstrapLocator: Locator, defaultModule: Module, planner: Planner, interpreter: PlanInterpreter)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Locator

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PlannerInput

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class PlannerInput(bindings: ModuleBase, roots: Roots, activation: Activation, locatorPrivacy: LocatorPrivacy)

Input for Planner

Input for Planner

Value parameters

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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Injector[F]