title: Call a function before jetty stop
body: <p>In the project I am working on, we need to "save" the work before jetty stopped, on linux this is just easy, because we can call another process, on windows, this is not easy, because we are registering in into Windows service, which means we can either modify the start.jar file to make something before the "stop" function being called, or, well here I need help:</p>
  
  <p>I want, that jetty executes some process before it trigger the stop() function, or even before calling the start.Main class, is this possible?</p>
  
  <p>Thank you</p>