Packages

c

izumi.distage.roles

RoleAppLauncherImpl

abstract class RoleAppLauncherImpl[F[_]] extends RoleAppLauncher

Application flow: 1. Parse commandline parameters 2. Create "early logger" (console sink & configurable log level) 3. Show startup banner 4. Load raw config 5. Create "late logger" using config 6. Enumerate app plugins and bootstrap plugins 7. Enumerate available roles, show role info and and apply merge strategy/conflict resolution 8. Validate loaded roles (for non-emptyness and conflicts between bootstrap and app plugins) 9. Build plan for DIEffect runner 10. Build plan for integration checks 11. Build plan for application 12. Run role tasks 13. Run role services 14. Await application termination 15. Run finalizers 16. Shutdown executors

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RoleAppLauncherImpl
  2. RoleAppLauncher
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RoleAppLauncherImpl()(implicit arg0: distage.TagK[F], arg1: DIEffect[F])

Abstract Value Members

  1. abstract def pluginConfig: PluginConfig
    Attributes
    protected
  2. abstract def shutdownStrategy: AppShutdownStrategy[F]
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def appOverride: distage.ModuleBase
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bootstrapPluginConfig: PluginConfig
    Attributes
    protected
  7. def bsOverride: distage.BootstrapModule
    Attributes
    protected
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def contextOptions(parameters: RawAppArgs): PlanningOptions
    Attributes
    protected
  10. def defaultActivations: Activation
    Attributes
    protected
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def gcRoots(rolesInfo: RolesInfo): Set[distage.DIKey]
    Attributes
    protected
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def launch(parameters: RawAppArgs): Unit
    Definition Classes
    RoleAppLauncherImplRoleAppLauncher
  18. def loadRoles(parameters: RawAppArgs, logger: IzLogger, appPlugins: Seq[PluginBase], bsPlugins: Seq[PluginBase]): RolesInfo
    Attributes
    protected
  19. def makeBootstrapMergeStrategy(lateLogger: IzLogger, parameters: RawAppArgs): PluginMergeStrategy
    Attributes
    protected
  20. def makeBootstrapPluginLoader(): PluginLoader
    Attributes
    protected
  21. def makeConfigLoader(logger: IzLogger, parameters: RawAppArgs): ConfigLoader
    Attributes
    protected
  22. def makeExecutor(parameters: RawAppArgs, roles: RolesInfo, lateLogger: IzLogger, startupPlanExecutor: StartupPlanExecutor[F], filters: Filters[F] = Filters.all): RoleAppExecutor[F]
    Attributes
    protected
  23. def makeMergeStrategy(lateLogger: IzLogger, parameters: RawAppArgs, roles: RolesInfo): PluginMergeStrategy
    Attributes
    protected
  24. def makeModuleProvider(options: PlanningOptions, parameters: RawAppArgs, activationInfo: ActivationInfo, activation: Activation, roles: RolesInfo, config: AppConfig, lateLogger: IzLogger): ModuleProvider
    Attributes
    protected
  25. def makePlanner(options: PlanningOptions, bsModule: distage.BootstrapModule, lateLogger: IzLogger): RoleAppPlanner[F]
    Attributes
    protected
  26. def makePluginLoader(): PluginLoader
    Attributes
    protected
  27. def makeStartupExecutor(lateLogger: IzLogger, injector: distage.Injector): StartupPlanExecutor[F]
    Attributes
    protected
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def printRoleInfo(logger: IzLogger, roles: RolesInfo): Unit
    Attributes
    protected
  32. def referenceLibraryInfo: Seq[LibraryReference]
    Attributes
    protected
  33. def requiredActivations: Activation
    Attributes
    protected
  34. def showBanner(logger: IzLogger, referenceLibraries: Seq[LibraryReference]): RoleAppLauncherImpl.this.type
    Attributes
    protected
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def validate(bootstrapAutoDef: distage.ModuleBase, appDef: distage.ModuleBase): Unit
    Attributes
    protected
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from RoleAppLauncher

Inherited from AnyRef

Inherited from Any

Ungrouped