UnitManager

Represents the manager of the deployment unit.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val di: DI
Link copied to clipboard
open val diContext: DIContext<*>
Link copied to clipboard
open val diTrigger: DITrigger?

Functions

Link copied to clipboard
abstract suspend fun finalize(): Either<UnitManagerError, Unit>
Link copied to clipboard
abstract suspend fun initialize(): Either<UnitManagerError, Unit>
Link copied to clipboard
abstract fun setupInjector(kodein: DI)
Link copied to clipboard
abstract suspend fun start(): Either<UnitManagerError, Unit>

Starts the deployment unit.

Link copied to clipboard
abstract suspend fun stop(): Either<UnitManagerError, Unit>

Stops the deployment unit.