Added test for custom async annotation

This commit is contained in:
Juergen Hoeller
2012-10-31 02:09:26 +01:00
parent a6bcda25c2
commit 6d6eaf8506
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 {