Static BeanFactory implementation
which allows to register existing singleton instances programmatically.
Does not have support for prototype beans or aliases.
Serves as example for a simple implementation of the
ListableBeanFactory interface,
managing existing bean instances rather than creating new ones based on bean
definitions, and not implementing any extended SPI interfaces (such as
ConfigurableBeanFactory ).
Serves as example for a simple implementation of the ListableBeanFactory interface, managing existing bean instances rather than creating new ones based on bean definitions, and not implementing any extended SPI interfaces (such as ConfigurableBeanFactory ).
For a full-fledged factory based on bean definitions, have a look at DefaultListableBeanFactory .