public class

AnnotationDrivenBeanDefinitionParser

extends Object
implements BeanDefinitionParser
java.lang.Object
   ↳ org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser

Class Overview

Parser for the 'annotation-driven' element of the 'task' namespace.

Summary

Constants
String ASYNC_ANNOTATION_PROCESSOR_BEAN_NAME The bean name of the internally managed async annotation processor (mode="proxy").
String ASYNC_EXECUTION_ASPECT_BEAN_NAME The bean name of the internally managed transaction aspect (mode="aspectj").
String SCHEDULED_ANNOTATION_PROCESSOR_BEAN_NAME The bean name of the internally managed scheduled annotation processor.
Public Constructors
AnnotationDrivenBeanDefinitionParser()
Public Methods
BeanDefinition parse(Element element, ParserContext parserContext)
Parse the specified Element and register the resulting BeanDefinition(s) with the BeanDefinitionRegistry embedded in the supplied ParserContext.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.xml.BeanDefinitionParser

Constants

public static final String ASYNC_ANNOTATION_PROCESSOR_BEAN_NAME

The bean name of the internally managed async annotation processor (mode="proxy").

Constant Value: "org.springframework.scheduling.annotation.internalAsyncAnnotationProcessor"

public static final String ASYNC_EXECUTION_ASPECT_BEAN_NAME

The bean name of the internally managed transaction aspect (mode="aspectj").

Constant Value: "org.springframework.scheduling.config.internalAsyncExecutionAspect"

public static final String SCHEDULED_ANNOTATION_PROCESSOR_BEAN_NAME

The bean name of the internally managed scheduled annotation processor.

Constant Value: "org.springframework.scheduling.annotation.internalScheduledAnnotationProcessor"

Public Constructors

public AnnotationDrivenBeanDefinitionParser ()

Public Methods

public BeanDefinition parse (Element element, ParserContext parserContext)

Parse the specified Element and register the resulting BeanDefinition(s) with the BeanDefinitionRegistry embedded in the supplied ParserContext.

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 return null if they will not be used in a nested fashion.

Parameters
element the element that is to be parsed into one or more BeanDefinitions
parserContext the object encapsulating the current state of the parsing process; provides access to a BeanDefinitionRegistry.
Returns