kvision / pl.treksoft.kvision.remote / SpringContext / getBean

getBean

fun <T> getBean(beanClass: Class<T>): T

Get a Spring bean by type.

fun getBean(beanName: String): Any

Get a Spring bean by name.

fun <T> getBean(beanName: String, beanClass: Class<T>): T

Get a Spring bean by name and type.