Package | Description |
---|---|
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD. |
Modifier and Type | Method and Description |
---|---|
BeanDefinitionHolder |
BeanDefinitionDecorator.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext)
Parse the specified
Node (either an element or an attribute) and decorate
the supplied BeanDefinition ,
returning the decorated definition. |
BeanDefinitionHolder |
NamespaceHandlerSupport.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext)
Decorates the supplied
Node by delegating to the BeanDefinitionDecorator that
is registered to handle that Node . |
BeanDefinitionHolder |
NamespaceHandler.decorate(Node source,
BeanDefinitionHolder definition,
ParserContext parserContext)
Parse the specified
Node and decorate the supplied
BeanDefinitionHolder , returning the decorated definition. |
BeanDefinitionHolder |
SimplePropertyNamespaceHandler.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext) |
BeanDefinitionHolder |
SimpleConstructorNamespaceHandler.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext) |
protected void |
AbstractSingleBeanDefinitionParser.doParse(Element element,
ParserContext parserContext,
BeanDefinitionBuilder builder)
Parse the supplied
Element and populate the supplied
BeanDefinitionBuilder as required. |
protected void |
AbstractSimpleBeanDefinitionParser.doParse(Element element,
ParserContext parserContext,
BeanDefinitionBuilder builder)
Parse the supplied
Element and populate the supplied
BeanDefinitionBuilder as required. |
protected boolean |
AbstractSimpleBeanDefinitionParser.isEligibleAttribute(Attr attribute,
ParserContext parserContext)
Determine whether the given attribute is eligible for being
turned into a corresponding bean property value.
|
BeanDefinition |
NamespaceHandlerSupport.parse(Element element,
ParserContext parserContext)
Parses the supplied
Element by delegating to the BeanDefinitionParser that is
registered for that Element . |
BeanDefinition |
AbstractBeanDefinitionParser.parse(Element element,
ParserContext parserContext) |
BeanDefinition |
NamespaceHandler.parse(Element element,
ParserContext parserContext)
Parse the specified
Element and register any resulting
BeanDefinitions with the
BeanDefinitionRegistry
that is embedded in the supplied ParserContext . |
BeanDefinition |
SimplePropertyNamespaceHandler.parse(Element element,
ParserContext parserContext) |
BeanDefinition |
BeanDefinitionParser.parse(Element element,
ParserContext parserContext)
Parse the specified
Element and register the resulting
BeanDefinition(s) with the
BeanDefinitionRegistry
embedded in the supplied ParserContext . |
BeanDefinition |
SimpleConstructorNamespaceHandler.parse(Element element,
ParserContext parserContext) |
protected abstract AbstractBeanDefinition |
AbstractBeanDefinitionParser.parseInternal(Element element,
ParserContext parserContext)
Central template method to actually parse the supplied
Element
into one or more BeanDefinitions . |
protected AbstractBeanDefinition |
AbstractSingleBeanDefinitionParser.parseInternal(Element element,
ParserContext parserContext)
Creates a
BeanDefinitionBuilder instance for the
bean Class and passes it to the
AbstractSingleBeanDefinitionParser.doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder) strategy method. |
protected String |
AbstractBeanDefinitionParser.resolveId(Element element,
AbstractBeanDefinition definition,
ParserContext parserContext)
Resolve the ID for the supplied
BeanDefinition . |