Skip to content

Commit 0d71058

Browse files
hpoettkergaryrussell
authored andcommitted
Annotate @EnableRetry with @AliasFor
1 parent 34c04e7 commit 0d71058

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/springframework/retry/annotation/EnableRetry.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2013 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
2424

2525
import org.springframework.context.annotation.EnableAspectJAutoProxy;
2626
import org.springframework.context.annotation.Import;
27+
import org.springframework.core.annotation.AliasFor;
2728

2829
/**
2930
* Global enabler for <code>@Retryable</code> annotations in Spring beans. If this is
@@ -47,6 +48,7 @@
4748
* standard Java interface-based proxies. The default is {@code false}.
4849
* @return whether to proxy or not to proxy the class
4950
*/
51+
@AliasFor(annotation = EnableAspectJAutoProxy.class)
5052
boolean proxyTargetClass() default false;
5153

5254
}

0 commit comments

Comments
 (0)