类 ScheduledTasksBeanDefinitionParser
- java.lang.Object
- org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
- org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
- org.springframework.scheduling.config.ScheduledTasksBeanDefinitionParser
- 所有已实现的接口:
BeanDefinitionParser
public class ScheduledTasksBeanDefinitionParser extends AbstractSingleBeanDefinitionParser
Parser for the 'scheduled-tasks' element of the scheduling namespace.- 从以下版本开始:
- 3.0
- 作者:
- Mark Fisher, Chris Beams
字段概要
从类继承的字段 org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
构造器概要
构造器 构造器 说明 ScheduledTasksBeanDefinitionParser()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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
.protected boolean
shouldGenerateId()
Should an ID be generated instead of read from the passed inElement
?从类继承的方法 org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getParentName, parseInternal
从类继承的方法 org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
构造器详细资料
ScheduledTasksBeanDefinitionParser
public ScheduledTasksBeanDefinitionParser()
方法详细资料
shouldGenerateId
protected boolean shouldGenerateId()
从类复制的说明:AbstractBeanDefinitionParser
Should an ID be generated instead of read from the passed inElement
?Disabled by default; subclasses can override this to enable ID generation. Note that this flag is about always generating an ID; the parser won't even check for an "id" attribute in this case.
- 覆盖:
shouldGenerateId
在类中AbstractBeanDefinitionParser
- 返回:
- whether the parser should always generate an id
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)