From 92298469bf2f2640d18c1ef1ce0a9811b7c5e061 Mon Sep 17 00:00:00 2001 From: Ramnivas Laddad Date: Sun, 17 Oct 2010 22:33:30 +0000 Subject: [PATCH] Fixed configuration of AnnotationAsyncExecutionAspect (was incorrectly under the same name as that for transaction management aspect) --- .../config/AnnotationDrivenBeanDefinitionParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.springframework.context/src/main/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser.java b/org.springframework.context/src/main/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser.java index 41275f1109..ead8eaddfc 100644 --- a/org.springframework.context/src/main/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser.java +++ b/org.springframework.context/src/main/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser.java @@ -34,6 +34,7 @@ import org.springframework.util.StringUtils; * * @author Mark Fisher * @author Juergen Hoeller + * @author Ramnivas Laddad * @since 3.0 */ public class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser { @@ -48,7 +49,7 @@ public class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParse * The bean name of the internally managed transaction aspect (mode="aspectj"). */ public static final String ASYNC_EXECUTION_ASPECT_BEAN_NAME = - "org.springframework.transaction.config.internalTransactionAspect"; + "org.springframework.scheduling.config.internalAsyncExecutionAspect"; private static final String ASYNC_EXECUTION_ASPECT_CLASS_NAME = "org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect";