类 AnnotationDrivenBeanDefinitionParser
- java.lang.Object
- org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser
- 所有已实现的接口:
BeanDefinitionParser
public class AnnotationDrivenBeanDefinitionParser extends Object implements BeanDefinitionParser
Parser for the 'annotation-driven' element of the 'task' namespace.- 从以下版本开始:
- 3.0
- 作者:
- Mark Fisher, Juergen Hoeller, Ramnivas Laddad, Chris Beams, Stephane Nicoll
构造器概要
构造器 构造器 说明 AnnotationDrivenBeanDefinitionParser()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BeanDefinition
parse(Element element, ParserContext parserContext)
Parse the specifiedElement
and register the resultingBeanDefinition(s)
with theBeanDefinitionRegistry
embedded in the suppliedParserContext
.
构造器详细资料
AnnotationDrivenBeanDefinitionParser
public AnnotationDrivenBeanDefinitionParser()
方法详细资料
parse
public BeanDefinition parse(Element element, ParserContext parserContext)
从接口复制的说明:BeanDefinitionParser
Parse the specifiedElement
and register the resultingBeanDefinition(s)
with theBeanDefinitionRegistry
embedded in the suppliedParserContext
.Implementations must return the primary
BeanDefinition
that results from the parse if they will ever be used in a nested fashion (for example as an inner tag in a<property/>
tag). Implementations may returnnull
if they will not be used in a nested fashion.- 指定者:
parse
在接口中BeanDefinitionParser
- 参数:
element
- the element that is to be parsed into one or moreBeanDefinitions
parserContext
- the object encapsulating the current state of the parsing process; provides access to aBeanDefinitionRegistry
- 返回:
- the primary
BeanDefinition