Top Description Interfaces Classes
module spring.beans

Package org.springframework.beans.factory.xml

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Contains an abstract XML-based BeanFactory implementation, including a standard "spring-beans" XSD.

Interface Summary

Modifier and TypeInterface and Description
public interface
BeanDefinitionDecorator

Interface used by the DefaultBeanDefinitionDocumentReader to handle custom, nested (directly under a <bean>) tags.

public interface
BeanDefinitionDocumentReader

SPI for parsing an XML document that contains Spring bean definitions.

public interface
BeanDefinitionParser

Interface used by the DefaultBeanDefinitionDocumentReader to handle custom, top-level (directly under <beans/>) tags.

public interface
DocumentLoader

Strategy interface for loading an XML Document.

public interface
NamespaceHandler

Base interface used by the DefaultBeanDefinitionDocumentReader for handling custom namespaces in a Spring XML configuration file.

public interface

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractBeanDefinitionParser

Abstract BeanDefinitionParser implementation providing a number of convenience methods and a template method that subclasses must override to provide the actual parsing logic.

public abstract class
AbstractSimpleBeanDefinitionParser

Convenient base class for when there exists a one-to-one mapping between attribute names on the element that is to be parsed and the property names on the Class being configured.

public abstract class
AbstractSingleBeanDefinitionParser

Base class for those BeanDefinitionParser implementations that need to parse and define just a single BeanDefinition.

public class
BeanDefinitionParserDelegate

Stateful delegate class used to parse XML bean definitions.

public class
BeansDtdResolver

EntityResolver implementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file).

public class
DefaultBeanDefinitionDocumentReader

Default implementation of the BeanDefinitionDocumentReader interface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format).

public class
DefaultDocumentLoader

Spring's default DocumentLoader implementation.

public class
DefaultNamespaceHandlerResolver

Default implementation of the NamespaceHandlerResolver interface.

public class
DelegatingEntityResolver

EntityResolver implementation that delegates to a BeansDtdResolver and a PluggableSchemaResolver for DTDs and XML schemas, respectively.

public class
DocumentDefaultsDefinition

Simple JavaBean that holds the defaults specified at the <beans> level in a standard Spring XML bean definition document: default-lazy-init, default-autowire, etc.

public abstract class
NamespaceHandlerSupport

Support class for implementing custom NamespaceHandlers.

public class
ParserContext

Context that gets passed along a bean definition parsing process, encapsulating all relevant configuration as well as state.

public class
PluggableSchemaResolver

EntityResolver implementation that attempts to resolve schema URLs into local classpath resources using a set of mappings files.

public class
ResourceEntityResolver

EntityResolver implementation that tries to resolve entity references through a org.springframework.core.io.ResourceLoader (usually, relative to the resource base of an ApplicationContext), if applicable.

public class
SimpleConstructorNamespaceHandler

Simple NamespaceHandler implementation that maps custom attributes directly through to bean properties.

public class
SimplePropertyNamespaceHandler

Simple NamespaceHandler implementation that maps custom attributes directly through to bean properties.

public class
UtilNamespaceHandler

NamespaceHandler for the util namespace.

public class
XmlBeanDefinitionReader

Bean definition reader for XML bean definitions.

public class
XmlBeanDefinitionStoreException

XML-specific BeanDefinitionStoreException subclass that wraps a org.xml.sax.SAXException, typically a org.xml.sax.SAXParseException which contains information about the error location.

public class