Closed
Description
A BeanDefinition
can have an init
and destroy
method name. While uncommon, it is possible for a bean to have more than one of those, see InitDestroyAnnotationBeanPostProcessor
.
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
in RootBeanDefinition
as well.