Annotation Type Schedules
@Target({METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented public @interface Schedules
Container annotation that aggregates severalScheduled
annotations.Can be used natively, declaring several nested
Scheduled
annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, whereScheduled
can simply be declared several times on the same method, implicitly generating this container annotation.This annotation may be used as a meta-annotation to create custom composed annotations.
- Since:
- 4.0
- Author:
- Juergen Hoeller
- See Also:
Scheduled