What is BeanFactory in Spring?A BeanFactory is like a factory class that contains a collection of beans. The BeanFactory holds Bean Definitions of multiple beans within itself and then instantiates the bean whenever asked for by clients. The BeanFactory is the actual container that instantiates, configures, and manages a number of beans. These beans typically collaborate with one another and thus have dependencies between themselves. These dependencies are reflected in the configuration data used by the BeanFactory BeanFactory also takes part in the life cycle of a bean, making calls to custom initialization and destruction methods. - Study24x7
Social learning Network
10 followers study24x7 13 Dec 2019 04:07 PM study24x7 study24x7

What is BeanFactory in Spring?

A BeanFactory is like a factory class that contains a collection of beans. The BeanFactory holds Bean Definitions of multiple beans within itself and then instantiates the bean whenever asked for by clients. The BeanFactory is the actual cont...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles