winter / io.jentz.winter.plugin / SimplePlugin

SimplePlugin

open class SimplePlugin : Plugin

Empty implementation of Plugin.

Constructors

<init>

SimplePlugin()

Empty implementation of Plugin.

Functions

graphClose

open fun graphClose(graph: Graph): Unit

This is called whenever a Graph is going to be closed.

graphInitialized

open fun graphInitialized(graph: Graph): Unit

This is called when a Graph is initialized and before eager dependencies are resolved.

graphInitializing

open fun graphInitializing(parentGraph: Graph?, builder: Component.Builder): Unit

This is called when a Graph is initializing and allows to manipulate (derive) the backing io.jentz.winter.Component.

postConstruct

open fun postConstruct(graph: Graph, scope: Scope, instance: Any): Unit

This is called whenever a new instance was created.