BootstrapLocator

izumi.distage.bootstrap.BootstrapLocator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def bootstrap(bootstrapBase: BootstrapContextModule, bootstrapActivation: Activation, overrides: Seq[BootstrapModule], parent: Option[Locator], locatorPrivacy: LocatorPrivacy, rootsMode: BootstrapRootsMode): Locator

Create an initial bootstrap locator from a module with recipes for Planner, PlanInterpreter & BootstrapModule

Create an initial bootstrap locator from a module with recipes for Planner, PlanInterpreter & BootstrapModule

Workings of the Injector can be customized by changing the bootstrap module, e.g. by adding members to izumi.distage.model.planning.PlanningHook Set.

The passed activation will affect only the bootstrapping of the injector itself (see izumi.distage.bootstrap.BootstrapLocator), to set activation choices, pass Activation to izumi.distage.model.Planner#plan or izumi.distage.model.PlannerInput.

Value parameters

bootstrapActivation

A map of axes of configuration to choices along these axes

bootstrapBase

Initial bootstrap context module, such as izumi.distage.bootstrap.BootstrapLocator.defaultBootstrap

overrides

Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to customize the Injector, e.g. by adding members to izumi.distage.model.planning.PlanningHook Set.

Attributes