use of javax.ejb.Schedules in project Payara by payara.
the class SchedulesHandler method processAnnotation.
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, EjbContext[] ejbContexts) throws AnnotationProcessorException {
Schedules annotation = (Schedules) ainfo.getAnnotation();
Schedule[] schAnnotations = annotation.value();
List<HandlerProcessingResult> results = new ArrayList<HandlerProcessingResult>();
for (Schedule sch : schAnnotations) {
results.add(processSchedule(sch, ainfo, ejbContexts));
}
return getOverallProcessingResult(results);
}
Aggregations