All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.javalin.core.plugin.PluginLifecyles.kt Maven / Gradle / Ivy

The newest version!
package io.javalin.core.plugin

import io.javalin.Javalin

/** Extend [Plugin] with a new lifecycle */
interface PluginLifecycleInit {
    /**
     * Initialize properties and event listener.
     * This will be called before any handler is registered.
     * It is not allowed to register handler during this lifecycle.
     */
    fun init(app: Javalin)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy