Class StartStopServlet
java.lang.Object
net.sf.basedb.clients.web.servlet.StartStopServlet
- All Implemented Interfaces:
EventListener
,ServletContextListener
Servlet listener for starting BASE when the web server is started and
stopping BASE when the web server is stopped. This servlet is very simple.
It will call
Application.start()
and ExtensionsControl.init(javax.servlet.ServletContext)
when it is loaded and Application.stop()
and ExtensionsControl.close()
when it is destroyed.- Version:
- 2.8
- Author:
- nicklas
- Last modified
- $Date: 2021-01-20 13:18:30 +0100 (Wed, 20 Jan 2021) $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
StartStopServlet
public StartStopServlet()
-
-
Method Details
-
contextInitialized
- Specified by:
contextInitialized
in interfaceServletContextListener
-
contextDestroyed
- Specified by:
contextDestroyed
in interfaceServletContextListener
-