New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What if i want to use Combination of annotation in Spring? #208
Comments
for example ,i worote an custom annotation @Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Scheduled
@Async
@SchedulerLock
public @interface MyScheduled {
@AliasFor(
annotation = Scheduled.class
)
String cron();
@AliasFor(
annotation = SchedulerLock.class,attribute = "name"
)
String name();
@AliasFor(
annotation = SchedulerLock.class,attribute = "lockAtMostFor"
)
String lockAtMostFor() default "";
@AliasFor(
annotation = SchedulerLock.class,attribute = "lockAtLeastFor"
)
String lockAtLeastFor() default "";
} I tested, |
Hi, thanks for feedback, I will take a look at it. |
lukas-krecan
pushed a commit
that referenced
this issue
Mar 25, 2020
lukas-krecan
pushed a commit
that referenced
this issue
Mar 25, 2020
lukas-krecan
pushed a commit
that referenced
this issue
Mar 25, 2020
lukas-krecan
added a commit
that referenced
this issue
Mar 25, 2020
#208 Support for meta annotations
Released as 4.6.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: