Top Description Constructors Methods
org.springframework.scheduling.config

public Class ExecutorBeanDefinitionParser

extends AbstractSingleBeanDefinitionParser
Class Inheritance
Imports
org.w3c.dom.Element, org.springframework.beans.factory.support.BeanDefinitionBuilder, .RootBeanDefinition, org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser, .ParserContext, org.springframework.util.StringUtils

Parser for the 'executor' element of the 'task' namespace.
Authors
Mark Fisher, Juergen Hoeller
Since
3.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
protected void
doParse(Element
the XML element being parsed
element
,
ParserContext
the object encapsulating the current state of the parsing process
parserContext
,
BeanDefinitionBuilder
used to define the BeanDefinition
builder
)

Overrides org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.doParse.

Parse the supplied Element and populate the supplied BeanDefinitionBuilder as required.
protected String
getBeanClassName(Element
the Element that is being parsed
element
)

Overrides org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.getBeanClassName.

Determine the bean class name corresponding to the supplied Element.
Inherited from org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser:
doParsegetBeanClassgetParentNameparseInternal

Constructor Detail

ExecutorBeanDefinitionParserback to summary
public ExecutorBeanDefinitionParser()

Method Detail

configureRejectionPolicyback to summary
private void configureRejectionPolicy(Element element, BeanDefinitionBuilder builder)
doParseback to summary
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)

Overrides org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.doParse.

Doc from org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.doParse.

Parse the supplied Element and populate the supplied BeanDefinitionBuilder as required.

The default implementation delegates to the doParse version without ParserContext argument.

Parameters
element:Element

the XML element being parsed

parserContext:ParserContext

the object encapsulating the current state of the parsing process

builder:BeanDefinitionBuilder

used to define the BeanDefinition

Annotations
@Override
getBeanClassNameback to summary
protected String getBeanClassName(Element element)

Overrides org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.getBeanClassName.

Doc from org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.getBeanClassName.

Determine the bean class name corresponding to the supplied Element.

Parameters
element:Element

the Element that is being parsed

Returns:String

the class name of the bean that is being defined via parsing the supplied Element, or null if none

Annotations
@Override