Package org.springframework.context.support
Types
BeanDefinitionDsl
Link copied to clipboard
open class BeanDefinitionDsl : ApplicationContextInitializer<GenericApplicationContext>
Content copied to clipboard
Class implementing functional bean definition Kotlin DSL.
Functions
beans
Link copied to clipboard
Functional bean definition Kotlin DSL.
GenericApplicationContext
Link copied to clipboard
Content copied to clipboard
Extension for GenericApplicationContext allowing GenericApplicationContext { ... }
style initialization.
registerBean
Link copied to clipboard
inline fun <T : Any> GenericApplicationContext.registerBean(vararg customizers: BeanDefinitionCustomizer)
Content copied to clipboard
Extension for GenericApplicationContext.registerBean providing a registerBean<Foo>()
variant.
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.
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.
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.