winter / io.jentz.winter / Component / subcomponent

subcomponent

fun subcomponent(vararg qualifiers: Any): Component

Returns a subcomponent by its qualifier or a nested subcomponent by its path of qualifiers.

Main usage for this is to restructure components when using Builder.include in conjunction with Builder.SubcomponentIncludeMode.DoNotInclude.

Parameters

qualifiers - The qualifier/path of qualifiers of the subcomponent

Exceptions

EntryNotFoundException - If the component does not exist.

Return
The subcomponent