Custom Object parameters within Jobs using Quartz-scheduler
I am testing out Quartz to schedule a job. However the job contains 3 non-serializable parameters. I have created a sample application below indicating how I am implementing the functionality. Does anyone know how I can use custom objects as parameters using Quartz? Below is the trigger which schedules the job, I have commented the area which is giving me issues. public class Trigger { public void run() throws Exception { SchedulerFactory sf = new StdSchedulerFactory(); Scheduler sched = sf.getScheduler(); Date startTime = DateBuilder.nextGivenSecondDate(null, 15); JobDetail job = newJob