Class HSQLShutdown

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.isomorphic.servlet.BaseServlet
com.isomorphic.sql.HSQLShutdown
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class HSQLShutdown extends BaseServlet
This servlet ensures a clean shutdown of all referenced HSQL databases used by SmartClient in a container reload scenario. It exists purely for the SDK and should not be used in production.

This servlet does not handle requests, so it is not necessary to defined servlet-mapping sections for it. The following lines in web.xml are sufficient to enable clean HSQL shutdowns:

 <servlet>
     <servlet-name>HSQLShutdown</servlet-name>
     <servlet-class>com.isomorphic.sql.HSQLShutdown</servlet-class>
     <load-on-startup>3</load-on-startup>
 </servlet>
 
See Also: