Browse Source
Put the lambda parameter at the end and use a function
instead of a supplier to be able to register beans like this:
val context = GenericApplicationContext()
context.registerBean(Foo::class)
context.registerBean{ Bar(it.getBean(Foo::class)) }
Issue: SPR-15118
pull/1291/head
2 changed files with 28 additions and 6 deletions
Loading…
Reference in new issue