Home > Back-end >  The difference between the BeanFactory and FactoryBean bosses explanation
The difference between the BeanFactory and FactoryBean bosses explanation

Time:09-21

Is the BeanFactory Spring IOC container, the most basic form of show will bean instantiation, and provides several has written the BeanFactory class,
But FactoryBean or some fuzzy, is a factory after integration FactoryBean handwritten function, and the getBean () is equivalent to invoke the FactoryBean getObject () to obtain the object, while getBean (& amp; BeanName) access to the instance of the bean,
Ask bosses can clear FactoryBean what is going on, and this two getBean () is the substantial difference between access to what
  • Related