@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
public @interface OnScheduled
Marker annotation a processor implementation can use to indicate a method
should be called whenever the processor is scheduled for processing. This
will be called before any 'onTrigger' calls and will be called once each time
a processor instance is scheduled to run. Methods using this annotation must
take either 0 arguments or a single argument of type
SchedulingContext
.
If any method annotated with this annotation throws, the processor will not
be scheduled to run.
- Author:
- none