registerBean

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)

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)

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)

Extension for GenericApplicationContext.registerBean providing a registerBean("foo") { Foo() } variant.

Author

Sebastien Deleuze

Since

5.0