Overriding a Bean definition
Hello,
I tried to search for the answer, but didn't find it...so Trying it out here.
I have a XMLBeanFactory (A) used for some purpose, and then I have another XMLBeanFactory (B) used in a different context. For some reason, I would like to read a Bean definition from Factory B, and place the same definition, at the same key in Factory (A) (with the problem that my singleton in factory (A) may have already been created).
I didn't find a way to do this, even by reading the Bean definition in (B) and using the registerBeanDefinition(beanName, beanDefinition) method on (A).
Is this possible to do it ?
Thanks a lot