tornadofx / tornadofx / DIContainer

DIContainer

interface DIContainer

Functions

getInstance abstract fun <T : Any> getInstance(type: KClass<T>): T
open fun <T : Any> getInstance(type: KClass<T>, name: String): T

Extension Functions

getInstance fun <T : Any> DIContainer.getInstance(): T
fun <T : Any> DIContainer.getInstance(name: String): T
getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>