public class ServerLauncherServlet
extends javax.servlet.http.HttpServlet
implements javax.servlet.ServletContextListener
<servlet>
<servlet-name>ServletServerLauncher</servlet-name>
<description>Servlet to start server</description>
<servlet-class>com.ontimize.gui.ServerLauncherServlet</servlet-class>
<init-param>
<param-name>ServerProperties</param-name>
<param-value>com/ontimize/quickstart/server/conf/server.properties</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
| Modifier and Type | Field and Description |
|---|---|
static String |
COM_ONTIMIZE_GUI_LOCATOR_ATTRIBUTE_CONTEXT |
static String |
CONTEXT_SERVER_PROPERTIES |
protected static com.ontimize.gui.ServerLauncherServlet.ExtendedServerLauncher |
launcher |
static String |
SERVER_PROPERTIES |
| Constructor and Description |
|---|
ServerLauncherServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent contextEvt) |
void |
contextInitialized(javax.servlet.ServletContextEvent contextEvt) |
void |
destroy() |
void |
destroyer(Object context) |
void |
init(javax.servlet.ServletConfig c) |
void |
initializer(Object context) |
static void |
main(String[] args) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final String SERVER_PROPERTIES
public static final String CONTEXT_SERVER_PROPERTIES
public static final String COM_ONTIMIZE_GUI_LOCATOR_ATTRIBUTE_CONTEXT
protected static com.ontimize.gui.ServerLauncherServlet.ExtendedServerLauncher launcher
public void init(javax.servlet.ServletConfig c)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void initializer(Object context) throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic void destroyer(Object context)
public void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletpublic void contextDestroyed(javax.servlet.ServletContextEvent contextEvt)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic void contextInitialized(javax.servlet.ServletContextEvent contextEvt)
contextInitialized in interface javax.servlet.ServletContextListenerCopyright © 2016 Imatia Innovation S.L.. All rights reserved.