|
Hello Hannes, from a Restlet point of view, the "stop" method is the dedicated "spot" to take care of such considerations. There is no need to override the "ServerServlet#destroy" method, unless you need so due to the fact that you override the ServerServlet class. I would like to add also that by default the "ServerServlet#destroy" method invokes the "stop" method of your application. Best regards, Thierry Boileau -- Restlet ~ Core developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com I'm running Restlets in Tomcat and need a way to cleanly shutdown a repository - is there a shutdown hook or a destroy() method I could use? |
- Clean shutdown in Tomcat Hannes Ebner
- Re: Clean shutdown in Tomcat Hannes Ebner
- Re: Clean shutdown in Tomcat Thierry Boileau
- Re: Clean shutdown in Tomcat Hannes Ebner
- RE: Re: Clean shutdown in Tomcat Matt Stromske
- RE: Re: Clean shutdown in Tomcat Jerome Louvel

