Package jakarta.ejb

Annotation Interface 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:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    One or more calendar-based timer specifications.
  • Element Details

    • value

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