com.isomorphic.sql
Class HSQLShutdown

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.isomorphic.servlet.BaseServlet
                    |
                    +--com.isomorphic.sql.HSQLShutdown
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class HSQLShutdown
extends com.isomorphic.servlet.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:
Serialized Form