Halts the Scheduler's firing of {@link Trigger}s, and cleans up all resources associated with the Scheduler. Equivalent to shutdown(false).
Scheduler
{@link Trigger}s
shutdown(false)
The scheduler cannot be re-started.
251252253254255256257258259260261
log.info("Stop QuartzService(" + jndiName + ")..."); try { Scheduler scheduler = schedulerFactory.getScheduler(); scheduler.shutdown(); } catch (Exception e) { log.error(captureStackTrace(e)); throw new SchedulerConfigException( "Failed to shutdown Scheduler - ");
287288289290291292293294295296297
public static void shutdown() { Scheduler scheduler = SystemInstance.get().getComponent(Scheduler.class); if (scheduler != null) try { scheduler.shutdown(); } catch (SchedulerException e) { throw new OpenEJBRuntimeException("Unable to shutdown scheduler", e); } }