/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void addCalendar(String calName, Calendar calendar, boolean replace, boolean updateTriggers) throws SchedulerException { invoke( "addCalendar", new Object[] { schedulingContext, calName, calendar, toBoolean(replace), toBoolean(updateTriggers) }, new String[] { SchedulingContext.class.getName(), String.class.getName(), Calendar.class.getName(), boolean.class.getName(), boolean.class.getName() }); }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void addCalendar(String calName, Calendar calendar, boolean replace, boolean updateTriggers) throws SchedulerException { invoke( "addCalendar", new Object[] { schedulingContext, calName, calendar, toBoolean(replace), toBoolean(updateTriggers) }, new String[] { SchedulingContext.class.getName(), String.class.getName(), Calendar.class.getName(), boolean.class.getName(), boolean.class.getName() }); }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void addJob(JobDetail jobDetail, boolean replace) throws SchedulerException { invoke( "addJob", new Object[] { schedulingContext, jobDetail, toBoolean(replace) }, new String[] { SchedulingContext.class.getName(), JobDetail.class.getName(), boolean.class.getName() }); }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void addJob(JobDetail jobDetail, boolean replace) throws SchedulerException { invoke( "addJob", new Object[] { schedulingContext, jobDetail, toBoolean(replace) }, new String[] { SchedulingContext.class.getName(), JobDetail.class.getName(), boolean.class.getName() }); }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public void shutdown(boolean waitForJobsToComplete) throws SchedulerException { // Have to get the scheduler name before we actually call shutdown. String schedulerName = getSchedulerName(); invoke( "shutdown", new Object[] { toBoolean(waitForJobsToComplete) }, new String[] { boolean.class.getName() }); SchedulerRepository.getInstance().remove(schedulerName); }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public void shutdown(boolean waitForJobsToComplete) throws SchedulerException { // Have to get the scheduler name before we actually call shutdown. String schedulerName = getSchedulerName(); invoke( "shutdown", new Object[] { toBoolean(waitForJobsToComplete) }, new String[] { boolean.class.getName() }); SchedulerRepository.getInstance().remove(schedulerName); }