spring-framework/spring-context
Sébastien Deleuze aa9ab8e545 Add support for callable references to BeanRegistrarDsl
BeanDefinitionDsl is allowing to create a bean from a callable
reference with its parameters autowired by type,
BeanRegistrarDsl should allow that too. For example:

class SampleBeanRegistrar : BeanRegistrarDsl({
    registerBean<MyRepository>()
    registerBean(::myRouter)
})

fun myRouter(myRepository: MyRepository) = router {
    ...
}

Closes gh-34922
2025-05-19 13:09:04 +02:00
..
src Add support for callable references to BeanRegistrarDsl 2025-05-19 13:09:04 +02:00
.springBeans
spring-context.gradle Merge branch '6.2.x' 2025-04-25 12:13:37 +02:00