ClassLoaderPlugin

class ClassLoaderPlugin(classLoader: ClassLoader) : AbstractPlugin

Types

Companion
Link copied to clipboard
object Companion

Functions

attach
Link copied to clipboard
open override fun attach(context: Context)

Start this plugin and attach registration info to the context. This method should be called only via PluginManager to avoid dependency issues.

content
Link copied to clipboard
open fun content(target: String): Map<Name, Any>

A map of direct children for specific target

dependsOn
Link copied to clipboard
override fun dependsOn(): Map<PluginFactory<*>, Meta>

Plugin dependencies which are required to attach this plugin. Plugin dependencies must be initialized and enabled in the Context before this plugin is enabled.

detach
Link copied to clipboard
open override fun detach()

Stop this plugin and remove registration info from context and other plugins. This method should be called only via PluginManager to avoid dependency issues.

services
Link copied to clipboard
fun <T : Any> services(type: KClass<T>): Sequence<T>
toMeta
Link copied to clipboard
open override fun toMeta(): Meta

Properties

context
Link copied to clipboard
open override val context: Context

Get context for this object

defaultChainTarget
Link copied to clipboard
open val defaultChainTarget: String

Default target for next chain segment

defaultTarget
Link copied to clipboard
open val defaultTarget: String

Default target for this provider

meta
Link copied to clipboard
open override val meta: Meta
name
Link copied to clipboard
open override val name: Name

The name of this plugin ignoring version and group

tag
Link copied to clipboard
open override val tag: PluginTag

Get tag for this plugin