类 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()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BeanDefinitionparse(Element element, ParserContext parserContext)Parse the specifiedElementand register the resultingBeanDefinition(s)with theBeanDefinitionRegistryembedded in the suppliedParserContext.
构造器详细资料
AnnotationDrivenBeanDefinitionParser
public AnnotationDrivenBeanDefinitionParser()
方法详细资料
parse
public BeanDefinition parse(Element element, ParserContext parserContext)
从接口复制的说明:BeanDefinitionParserParse the specifiedElementand register the resultingBeanDefinition(s)with theBeanDefinitionRegistryembedded in the suppliedParserContext.Implementations must return the primary
BeanDefinitionthat 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 returnnullif they will not be used in a nested fashion.- 指定者:
parse在接口中BeanDefinitionParser- 参数:
element- the element that is to be parsed into one or moreBeanDefinitionsparserContext- the object encapsulating the current state of the parsing process; provides access to aBeanDefinitionRegistry- 返回:
- the primary
BeanDefinition