1.

What Is Xmlbeanfactory?

Answer»

BeanFactory has many implementations in Spring. But one of the most useful one is org .spring framework .beans .factory .XML .XmlBeanFactory, which loads its beans based on the definitions contained in an XML file. To create an XmlBeanFactory, pass a java.io.InputStream to the constructor. The INPUT Stream will PROVIDE the XML to the factory. For EXAMPLE, the following code snippet uses a java .io .FileInput Stream to provide a bean definition XML file to XmlBeanFactory.

BeanFactory has many implementations in Spring. But one of the most useful one is org .spring framework .beans .factory .xml .XmlBeanFactory, which loads its beans based on the definitions contained in an XML file. To create an XmlBeanFactory, pass a java.io.InputStream to the constructor. The Input Stream will provide the XML to the factory. For example, the following code snippet uses a java .io .FileInput Stream to provide a bean definition XML file to XmlBeanFactory.



Discussion

No Comment Found