LauncherIdentity
izumi.distage.roles.RoleAppMain.LauncherIdentity
abstract class LauncherIdentity(implicit artifact: IzArtifactMaterializer) extends RoleAppMain[Identity]
Attributes
- Graph
-
- Supertypes
-
class RoleAppMain[Identity]class RoleCheckableApp[Identity]trait CheckableAppclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
open class PlanCheck[Cfg <: Any](cfg: Cfg = ...)(implicit planCheck: PlanCheckMaterializer[RoleAppMain.this.type, Cfg]) extends Main[this.type, Cfg]
Shortcut for izumi.distage.framework.PlanCheck.Main
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
- Supertypes
class SpecificResourceConfigLoader(val classLoader: ClassLoader, val resourceName: String) extends ConfigLoader
Attributes
- Inherited from:
- RoleCheckableApp
- Supertypes
Inherited types
Attributes
- Inherited from:
- RoleCheckableApp
Value members
Concrete methods
Attributes
- Definition Classes
Inherited methods
def assertAppCompileTime[Cfg <: Any](cfg: Cfg = ...)(implicit planCheck: PlanCheckMaterializer[this.type, Cfg]): PlanCheckMaterializer[this.type, Cfg]
Attributes
- See also
- Inherited from:
- RoleAppMain
def customCheck(planVerifier: PlanVerifier, excludedActivations: Set[NESet[AxisPoint]], checkConfig: Boolean, planCheckInput: PlanCheckInput[AppEffectType]): PlanVerifierResult
Override this to execute additional arbitrary user-defined checks at compile-time (or runtime via PlanCheck.runtime)
Override this to execute additional arbitrary user-defined checks at compile-time (or runtime via PlanCheck.runtime)
Attributes
- Throws
-
Throwable
You may throw a custom exception if your check error is not describable by izumi.distage.model.planning.PlanIssue
- Inherited from:
- CheckableApp
Attributes
- Inherited from:
- RoleAppMain
override def preparePlanCheckInput(selectedRoles: RoleSelection, chosenConfigFile: Option[String]): PlanCheckInput[Identity]
Attributes
- Definition Classes
- Inherited from:
- RoleCheckableApp
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
Attributes
- Inherited from:
- RoleAppMain
def roleAppBootModule(argv: ArgV, additionalRoles: RequiredRoles, crashLogRouterRef: Option[CrashLogRouterRef]): Module
Attributes
- See also
-
izumi.distage.roles.RoleAppBootModule for initial values
- Inherited from:
- RoleAppMain
Attributes
- Inherited from:
- RoleAppMain
Attributes
- Definition Classes
- Inherited from:
- RoleAppMain
final protected def roleAppBootModulePlanCheckOverrides(chosenRoles: RoleSelection, chosenConfigResource: Option[(ClassLoader, String)]): ModuleDef
Attributes
- Inherited from:
- RoleCheckableApp
Implicits
In this article