@Test void testShutdownInvokesSchedulerShutdown() throws SchedulerException { testSubject.shutdown(); verify(scheduler).shutdown(true); }
@Override @ShutdownHandler(phase = Phase.INBOUND_EVENT_CONNECTORS) public void shutdown() { try { scheduler.shutdown(true); } catch (SchedulerException e) { throw new SchedulingException("An error occurred while trying to shutdown the event scheduler", e); } }
QuartzEventScheduler implements org.axonframework.eventhandling.scheduling.EventScheduler { @Override @ShutdownHandler(phase = Phase.INBOUND_EVENT_CONNECTORS) public void shutdown() { try { scheduler.shutdown(true); } catch (SchedulerException e) { throw new SchedulingException("An error occurred while trying to shutdown the event scheduler", e); } } }
QuartzEventScheduler implements org.axonframework.eventhandling.scheduling.EventScheduler { @Override @ShutdownHandler(phase = Phase.INBOUND_EVENT_CONNECTORS) public void shutdown() { try { scheduler.shutdown(true); } catch (SchedulerException e) { throw new SchedulingException("An error occurred while trying to shutdown the event scheduler", e); } } protected  QuartzEventScheduler(Builder builder); }
QuartzEventScheduler implements org.axonframework.eventhandling.scheduling.EventScheduler { @Override @ShutdownHandler(phase = Phase.INBOUND_EVENT_CONNECTORS) public void shutdown() { try { scheduler.shutdown(true); } catch (SchedulerException e) { throw new SchedulingException("An error occurred while trying to shutdown the event scheduler", e); } } protected  QuartzEventScheduler(Builder builder); static Builder builder(); @Override ScheduleToken schedule(Instant triggerDateTime, Object event); @Override ScheduleToken schedule(Duration triggerDuration, Object event); @Override void cancelSchedule(ScheduleToken scheduleToken); void setGroupIdentifier(String groupIdentifier); @Override @ShutdownHandler(phase = Phase.INBOUND_EVENT_CONNECTORS) void shutdown(); }
QuartzEventScheduler implements org.axonframework.eventhandling.scheduling.EventScheduler { @Override @ShutdownHandler(phase = Phase.INBOUND_EVENT_CONNECTORS) public void shutdown() { try { scheduler.shutdown(true); } catch (SchedulerException e) { throw new SchedulingException("An error occurred while trying to shutdown the event scheduler", e); } } protected  QuartzEventScheduler(Builder builder); static Builder builder(); @Override ScheduleToken schedule(Instant triggerDateTime, Object event); @Override ScheduleToken schedule(Duration triggerDuration, Object event); @Override void cancelSchedule(ScheduleToken scheduleToken); void setGroupIdentifier(String groupIdentifier); @Override @ShutdownHandler(phase = Phase.INBOUND_EVENT_CONNECTORS) void shutdown();  }