注释类型 Schedules


  • @Target({METHOD,ANNOTATION_TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Schedules
    Container annotation that aggregates several Scheduled annotations.

    Can be used natively, declaring several nested Scheduled annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where Scheduled 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.

    从以下版本开始:
    4.0
    作者:
    Juergen Hoeller
    另请参阅:
    Scheduled
    • 必需元素概要

      所需元素 
      修饰符和类型必需的元素说明
      Scheduled[]value