类 ExecutorBeanDefinitionParser
- java.lang.Object
- org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
- org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
- org.springframework.scheduling.config.ExecutorBeanDefinitionParser
- 所有已实现的接口:
BeanDefinitionParser
public class ExecutorBeanDefinitionParser extends AbstractSingleBeanDefinitionParser
Parser for the 'executor' element of the 'task' namespace.- 从以下版本开始:
- 3.0
- 作者:
- Mark Fisher, Juergen Hoeller
字段概要
从类继承的字段 org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
构造器概要
构造器 构造器 说明 ExecutorBeanDefinitionParser()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected void
doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
Parse the suppliedElement
and populate the suppliedBeanDefinitionBuilder
as required.protected String
getBeanClassName(Element element)
Determine the bean class name corresponding to the suppliedElement
.从类继承的方法 org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getParentName, parseInternal
从类继承的方法 org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
构造器详细资料
ExecutorBeanDefinitionParser
public ExecutorBeanDefinitionParser()
方法详细资料
getBeanClassName
protected String getBeanClassName(Element element)
从类复制的说明:AbstractSingleBeanDefinitionParser
Determine the bean class name corresponding to the suppliedElement
.- 覆盖:
getBeanClassName
在类中AbstractSingleBeanDefinitionParser
- 参数:
element
- theElement
that is being parsed- 返回:
- the class name of the bean that is being defined via parsing the supplied
Element
, ornull
if none - 另请参阅:
AbstractSingleBeanDefinitionParser.getBeanClass(org.w3c.dom.Element)
doParse
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
从类复制的说明:AbstractSingleBeanDefinitionParser
Parse the suppliedElement
and populate the suppliedBeanDefinitionBuilder
as required.The default implementation delegates to the
doParse
version without ParserContext argument.- 覆盖:
doParse
在类中AbstractSingleBeanDefinitionParser
- 参数:
element
- the XML element being parsedparserContext
- the object encapsulating the current state of the parsing processbuilder
- used to define theBeanDefinition
- 另请参阅:
AbstractSingleBeanDefinitionParser.doParse(Element, BeanDefinitionBuilder)