eu.vendeli.tgbot.interfaces.ClassManager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegram-bot Show documentation
Show all versions of telegram-bot Show documentation
Telegram Bot API wrapper, with handy Kotlin DSL.
package eu.vendeli.tgbot.interfaces
/**
* Interface which is used to process classes, can be inherited to work with DI libraries.
*
* @constructor Create empty I class manager
*/
interface ClassManager {
/**
* Get instance of Class where Command/Input holds.
*
* @param clazz
* @param initParams
*/
fun getInstance(clazz: Class<*>, vararg initParams: Any?): Any
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy