Setting the bean factory

Sometimes, the bean class may need to get information about the factory that loaded it. If the bean class implements BeanFactoryAware, its setBeanFactory() method gets invoked, and passes the instance of BeanFactory to it, which may be an instance of ApplicationContext, WebApplicationContext, and so on.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.180.43