Esri Geoportal Server
1.0

com.esri.gpt.framework.context
Class InitializationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.esri.gpt.framework.context.InitializationServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class InitializationServlet
extends HttpServlet

Initializes configuration upon web application startup.

The servlet needs to be identified in the WEB-INF/web.xml file.
<servlet>
<servlet-name>Application Initialization Servlet</servlet-name>
<servlet-class>com.esri.gpt.framework.contextInitializationServlet<servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

See Also:
Serialized Form

Constructor Summary
InitializationServlet()
          Default constructor.
 
Method Summary
 void destroy()
          Destroys servlet.
 void init()
          Intitalizes the application configuration.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitializationServlet

public InitializationServlet()
Default constructor.

Method Detail

init

public void init()
          throws ServletException
Intitalizes the application configuration.

Overrides:
init in class GenericServlet
Throws:
ServletException - if an exception occurs

destroy

public void destroy()
Destroys servlet.

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.