| Home >> All >> org >> springframework >> beans >> factory >> [ xml Javadoc ] |
org.springframework.beans.factory.xml: Javadoc index of package org.springframework.beans.factory.xml.
Package Samples:
org.springframework.beans.factory.xml: The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Classes:
XmlBeanFactory: Convenience extension of DefaultListableBeanFactory that reads bean definitions from an XML document. Delegates to XmlBeanDefinitionReader underneath; effectively equivalent to using an XmlBeanDefinitionReader with a DefaultListableBeanFactory. The structure, element and attribute names of the required XML document are hard-coded in this class. (Of course a transform could be run if necessary to produce this format). "beans" doesn't need to be the root element of the XML document: This class will parse all bean definition elements in the XML file. This class registers each bean definition with ...
DefaultXmlBeanDefinitionParser: Default implementation of the XmlBeanDefinitionParser interface. Parses bean definitions according to the "spring-beans" DTD, i.e. Spring's default XML bean definition format. The structure, elements and attribute names of the required XML document are hard-coded in this class. (Of course a transform could be run if necessary to produce this format). "beans" doesn't need to be the root element of the XML document: This class will parse all bean definition elements in the XML file.
XmlBeanDefinitionReader: Bean definition reader for XML bean definitions. Delegates the actual XML parsing to an implementation of the XmlBeanDefinitionParser interface. Typically applied to a DefaultListableBeanFactory. This class loads a DOM document and applies the bean definition parser to it. The parser will register each bean definition with the given bean factory, relying on the latter's implementation of the BeanDefinitionRegistry interface.
XmlBeanDefinitionParser: Strategy interface for parsing XML bean definitions. Used by XmlBeanDefinitionReader for actually parsing a DOM document. Instantiated per document to parse: Implementations can hold state in instance variables during the execution of the registerBeanDefinitions method, for example global settings that are defined for all bean definitions in the document.
BeansDtdResolver: EntityResolver implementation for the Spring beans DTD, to load the DTD from the Spring classpath resp. JAR file. Fetches "spring-beans.dtd" from the classpath resource "/org/springframework/beans/factory/xml/spring-beans.dtd", no matter if specified as some local URL or as "http://www.springframework.org/dtd/spring-beans.dtd".
| Home | Contact Us | Privacy Policy | Terms of Service |