Description
with that it's possible to use
@Scheduled(/*...*/) public class MyJob implements Runnable { @Inject private MyService myService; @Override public void run() { //.. } }
instead of
@Scheduled(/*...*/) public class MyJob implements org.quartz.Job { @Inject private MyService myService; @Override public void execute(JobExecutionContext context) throws JobExecutionException { //... } }