Added test for custom async annotation

This commit is contained in:
Juergen Hoeller
2012-10-31 02:09:40 +01:00
committed by unknown
parent 0e0200769d
commit 69763fe249
2 changed files with 10 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ import java.lang.annotation.Target;
* @see AnnotationAsyncExecutionInterceptor
* @see AsyncAnnotationAdvisor
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Async {