registerBean
inline fun <T : Any> GenericApplicationContext.registerBean(vararg customizers: BeanDefinitionCustomizer)
Content copied to clipboard
Extension for GenericApplicationContext.registerBean providing a registerBean<Foo>()
variant.
Author
Sebastien Deleuze
Since
5.0
inline fun <T : Any> GenericApplicationContext.registerBean(beanName: String, vararg customizers: BeanDefinitionCustomizer)
Content copied to clipboard
Extension for GenericApplicationContext.registerBean providing a registerBean<Foo>("foo")
variant.
Author
Sebastien Deleuze
Since
5.0
inline fun <T : Any> GenericApplicationContext.registerBean(vararg customizers: BeanDefinitionCustomizer, crossinline function: (ApplicationContext) -> T)
Content copied to clipboard
Extension for GenericApplicationContext.registerBean providing a registerBean { Foo() }
variant.
Author
Sebastien Deleuze
Since
5.0
inline fun <T : Any> GenericApplicationContext.registerBean(name: String, vararg customizers: BeanDefinitionCustomizer, crossinline function: (ApplicationContext) -> T)
Content copied to clipboard
Extension for GenericApplicationContext.registerBean providing a registerBean("foo") { Foo() }
variant.
Author
Sebastien Deleuze
Since
5.0