1 package org.itracker.web.scheduler.tasks;
2
3 import org.quartz.JobExecutionContext;
4 import org.quartz.JobExecutionException;
5 import org.quartz.StatefulJob;
6
7 /**
8 * This class implements the periodic transmission of the meals and reservations
9 * file.
10 *
11 */
12 public abstract class BaseJob implements StatefulJob {
13
14 protected Object getServices(JobExecutionContext context) {
15 return context.getJobDetail().getJobDataMap().get("services");
16 }
17
18 public void execute(final JobExecutionContext context) throws JobExecutionException {
19 }
20
21 }