getBean

inline fun <T : Any> BeanFactory.getBean(): T

Extension for BeanFactory.getBean providing a getBean<Foo>() variant.

Author

Sebastien Deleuze

Since

5.0


inline fun <T : Any> BeanFactory.getBean(name: String): T

Extension for BeanFactory.getBean providing a getBean<Foo>("foo") variant.

Author

Sebastien Deleuze

Since

5.0

See also

(String, Class)


inline fun <T : Any> BeanFactory.getBean(vararg args: Any): T

Extension for BeanFactory.getBean providing a getBean<Foo>(arg1, arg2) variant.

Author

Sebastien Deleuze

Since

5.0

See also

(Class, Object...)