Package org.springframework.beans.factory.xml
Contains an abstract XML-based
BeanFactory
implementation, including a standard "spring-beans" XSD.Interface Summary Interface Description BeanDefinitionDecorator Interface used by theDefaultBeanDefinitionDocumentReader
to handle custom, nested (directly under a<bean>
) tags.BeanDefinitionDocumentReader SPI for parsing an XML document that contains Spring bean definitions.BeanDefinitionParser Interface used by theDefaultBeanDefinitionDocumentReader
to handle custom, top-level (directly under<beans/>
) tags.DocumentLoader Strategy interface for loading an XMLDocument
.NamespaceHandler Base interface used by theDefaultBeanDefinitionDocumentReader
for handling custom namespaces in a Spring XML configuration file.NamespaceHandlerResolver Used by theDefaultBeanDefinitionDocumentReader
to locate aNamespaceHandler
implementation for a particular namespace URI.Class Summary Class Description AbstractBeanDefinitionParser AbstractBeanDefinitionParser
implementation providing a number of convenience methods and atemplate method
that subclasses must override to provide the actual parsing logic.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 theClass
being configured.AbstractSingleBeanDefinitionParser Base class for thoseBeanDefinitionParser
implementations that need to parse and define just a singleBeanDefinition
.BeanDefinitionParserDelegate Stateful delegate class used to parse XML bean definitions.BeansDtdResolver EntityResolver
implementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file).DefaultBeanDefinitionDocumentReader Default implementation of theBeanDefinitionDocumentReader
interface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format).DefaultDocumentLoader Spring's defaultDocumentLoader
implementation.DefaultNamespaceHandlerResolver Default implementation of theNamespaceHandlerResolver
interface.DelegatingEntityResolver EntityResolver
implementation that delegates to aBeansDtdResolver
and aPluggableSchemaResolver
for DTDs and XML schemas, respectively.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.NamespaceHandlerSupport Support class for implementing customNamespaceHandlers
.ParserContext Context that gets passed along a bean definition parsing process, encapsulating all relevant configuration as well as state.PluggableSchemaResolver EntityResolver
implementation that attempts to resolve schema URLs into localclasspath resources
using a set of mappings files.ResourceEntityResolver EntityResolver
implementation that tries to resolve entity references through aResourceLoader
(usually, relative to the resource base of anApplicationContext
), if applicable.SimpleConstructorNamespaceHandler SimpleNamespaceHandler
implementation that maps custom attributes directly through to bean properties.SimplePropertyNamespaceHandler SimpleNamespaceHandler
implementation that maps custom attributes directly through to bean properties.UtilNamespaceHandler NamespaceHandler
for theutil
namespace.XmlBeanDefinitionReader Bean definition reader for XML bean definitions.XmlBeanFactory Deprecated. as of Spring 3.1 in favor ofDefaultListableBeanFactory
andXmlBeanDefinitionReader
XmlReaderContext Extension ofReaderContext
, specific to use with anXmlBeanDefinitionReader
.Exception Summary Exception Description XmlBeanDefinitionStoreException XML-specific BeanDefinitionStoreException subclass that wraps aSAXException
, typically aSAXParseException
which contains information about the error location.