Factory

abstract class Factory<P : AbstractJPlugin, CONF : Any>(name: String) : PluginFactory<P, CONF> (source)

应实现为单例。

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
open override val key: PluginFactory.Key

Functions

Link copied to clipboard
protected abstract fun create(context: PluginConfigureContext, configuration: CONF): P
override fun create(context: PluginConfigureContext, configurer: ConfigurerFunction<CONF>): P
Link copied to clipboard
protected abstract fun createConfig(): CONF

Inherited functions

Link copied to clipboard
open fun create(context: PluginConfigureContext): P