ComponentFactory

Component 的工厂函数,用于配置并预构建 Component 实例。

Parameters

COM

目标组件类型

CONF

配置类型。配置类型应是一个可变类,以便于在 DSL 中进行动态配置。

See also

Types

Link copied to clipboard
interface Key : MergeableFactory.Key

用于 ComponentFactory 在内部整合时的标识类型。

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun create(context: ComponentConfigureContext, configurer: ConfigurerFunction<CONF>): COM