-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Juergen Hoeller opened SPR-17292 and commented
While AnnotationConfigApplicationContext.registerBean supports @Autowired resolution on constructors in case of no instance supplier given, the original method on GenericApplicationContext performs default instantiation only. Making GenericApplicationContext.registerBean smarter in detecting a Kotlin primary constructor or simple non-default public constructor scenarios makes it aligned with AnnotationConfigApplicationContext and more useful in general, in particular for Kotlin DSLs.
Issue Links:
- Bean definition DSL does not generate unique bean names [SPR-17242] #21775 Bean definition DSL does not generate unique bean names
- Expose more AbstractBeanDefinition methods in BeanDefinition [SPR-17275] #21808 Expose more AbstractBeanDefinition methods in BeanDefinition
- Streamline and reduce Kotlin delegates [SPR-16020] #20569 Streamline and reduce Kotlin delegates
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement