LauncherIdentity

izumi.distage.roles.RoleAppMain$.LauncherIdentity
abstract class LauncherIdentity(implicit artifact: IzArtifactMaterializer) extends RoleAppMain[Identity]

Attributes

Graph
Supertypes
class RoleAppMain[Identity]
class RoleCheckableApp[Identity]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

open class PlanCheck[Cfg <: Any](cfg: Cfg)(implicit planCheck: PlanCheckMaterializer[RoleAppMain, Cfg]) extends Main[RoleAppMain, Cfg]

Shortcut for izumi.distage.framework.PlanCheck.Main

object WiringTest extends MyApp.PlanCheck(PlanCheckConfig(...))

same as

object WiringTest extends PlanCheck.Main(MyApp, PlanCheckConfig(...))

Attributes

Inherited from:
RoleAppMain
Graph
Supertypes
class Main[RoleAppMain, Cfg]
class Object
trait Matchable
class Any

Inherited types

final override type AppEffectType[A] = F[A]

Attributes

Inherited from:
RoleCheckableApp

Value members

Concrete methods

override protected def shutdownStrategy: AppShutdownStrategy[Identity]

Attributes

Definition Classes

Inherited methods

def main(args: Array[String]): Unit

Attributes

Inherited from:
RoleAppMain
override def preparePlanCheckInput(selectedRoles: RoleSelection, chosenConfigFile: Option[String]): PlanCheckInput[F]

Attributes

Definition Classes
Inherited from:
RoleCheckableApp
def replLocator(args: String*)(implicit F: QuasiIO[Identity]): F[Locator]

Create an object graph for inspection in the REPL:

Create an object graph for inspection in the REPL:

scala> val graph = Launcher.replLocator("-u", "mode:test", ":role1")
val graph: izumi.fundamentals.platform.functional.Identity[izumi.distage.model.Locator] = izumi.distage.LocatorDefaultImpl@6f6a2ac8

scala> val testObj = graph.get[Hello]
val testObj: example.Hellower = example.Hellower@25109d84

scala> testObj.hello("test")
Hello test!

Attributes

Note:

All resources will be leaked. Use replLocatorWithClose if you need resource cleanup within a REPL session.

Inherited from:
RoleAppMain
def replLocatorWithClose(args: String*)(implicit F: QuasiIO[Identity]): F[(Locator, () => F[Unit])]

Attributes

Inherited from:
RoleAppMain
def roleAppBootModule(argv: ArgV, additionalRoles: RequiredRoles): Module

Attributes

See also:
Inherited from:
RoleAppMain
def roleAppBootModule(argv: ArgV): Module

Attributes

Inherited from:
RoleAppMain
final override def roleAppBootModule: Module

Attributes

Definition Classes
Inherited from:
RoleAppMain

Implicits

Inherited implicits

implicit val defaultModule: DefaultModule[Identity]

Attributes

Inherited from:
RoleAppMain
implicit override val tagK: Tag[Identity]

Attributes

Inherited from:
RoleAppMain