This commit makes sure to account for FactoryBean names when registering a bean override. In the case of ReplaceDefinition mode, if there is a factory bean name, it is used to check singleton status and as the name in the registrar. Closes gh-32971
This commit makes sure to account for FactoryBean names when registering a bean override. In the case of ReplaceDefinition mode, if there is a factory bean name, it is used to check singleton status and as the name in the registrar. Closes gh-32971