@Test public void testDoGetShouldRunMaintainerTaskOnDemand() throws ServletException, IOException { underTest.doGet(req, resp); verify(sequenceMaintainer).runOnDemand(); }
@Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { sequenceMaintainer.runOnDemand(); logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Sequence maintenance task invoked manually")); }
SequenceHandlingCleanUpServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { sequenceMaintainer.runOnDemand(); logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Sequence maintenance task invoked manually")); } }
SequenceHandlingCleanUpServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { sequenceMaintainer.runOnDemand(); logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Sequence maintenance task invoked manually")); } @Autowired  SequenceHandlingCleanUpServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler, SequenceMaintainer sequenceMaintainer); }
SequenceHandlingCleanUpServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { sequenceMaintainer.runOnDemand(); logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Sequence maintenance task invoked manually")); } @Autowired  SequenceHandlingCleanUpServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler, SequenceMaintainer sequenceMaintainer);  }
SequenceHandlingCleanUpServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { sequenceMaintainer.runOnDemand(); logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Sequence maintenance task invoked manually")); } @Autowired  SequenceHandlingCleanUpServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler, SequenceMaintainer sequenceMaintainer);   }