183184185186187188189190191192193
} }); //Shutdown, but give running jobs a chance to complete. //User scheduled jobs should really implement InterruptableJob s.shutdown(true); } catch (final Throwable e) { QuartzResourceAdapter.this.ex.set(e); shutdownWait.countDown(); } }
210211212213214215216217218219220
@Override public void run() { try { //Force a shutdown without waiting for jobs to complete. s.shutdown(false); Logger.getInstance(LogCategory.OPENEJB, "org.apache.openejb.util.resources").warning("Forced Quartz stop - Jobs may be incomplete"); } catch (final Throwable e) { QuartzResourceAdapter.this.ex.set(e); } }