LifecycleHookedFeature

interface LifecycleHookedFeature : Feature

Features that require special hooking

Functions

Link copied to clipboard
open fun beforeStart(env: ExtensibleInjectionEnvironment)

Called just before an application is started (after onConfigurationLoaded, before the startAll call).

Link copied to clipboard
abstract fun ExtensibleContextBuilderDsl.install()

Callback when this feature is installed onto an environment.

Link copied to clipboard
open fun onConfigurationLoaded(configuration: RootConfig)

Called when the configuration for the application is loaded. This is called before any service is started.

Properties

Link copied to clipboard
open val dependencies: Set<Feature>

Dependencies for this feature. Dependencies are features that will be installed together with (but not necessarily before) your feature.

Link copied to clipboard
abstract val description: String

A short description of what your feature provides.

Link copied to clipboard
abstract val id: String

The identifier for this feature. Should be a lower case kebab-case string (e.g. this-is-my-feature).

Link copied to clipboard
abstract val name: String

The name for your feature, e.g. My Feature.