Package jakarta.ejb

Annotation Type Schedules


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Schedules
    Applied to a timer callback method to schedule multiple calendar-based timers for the method. The method to which the Schedules annotation is applied must have one of the following signatures, where <METHOD> designates the method name:
     void <METHOD>()
     void <METHOD>(Timer timer)
     
    Since:
    EJB 3.1
    See Also:
    Schedule
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Schedule[] value
      One or more calendar-based timer specifications.
    • Element Detail

      • value

        Schedule[] value
        One or more calendar-based timer specifications.
        Returns:
        an array of Schedule objects.