winter / io.jentz.winter / WinterApplication / component

component

var component: Component

The application component.

fun component(qualifier: Any = ApplicationScope::class, block: ComponentBuilderBlock): Unit

Sets the application component by supplying an optional qualifier and a component builder block.

Parameters

qualifier - The qualifier for the new component.

block - The component builder block.