Static
org.springframework.beans.factory.BeanFactory implementation
which allows to register existing singleton instances programmatically.
Does not have support for prototype beans or aliases.
Add a new singleton bean.
Will overwrite any existing instance for the given name.
Parameters: name - the name of the bean Parameters: bean - the bean instance