Add support for registering multiple init & destroy method names #28013
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
A
BeanDefinition
can have aninit
anddestroy
method name. While uncommon, it is possible for a bean to have more than one of those, seeInitDestroyAnnotationBeanPostProcessor
.To replace the runtime behavior of searching for those annotations, we need a way to specify multiple init and destroy method names. There might be an impact on
isExternallyManagedConfigMember
inRootBeanDefinition
as well.The text was updated successfully, but these errors were encountered: