|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet com.esri.gpt.framework.context.InitializationServlet
public class InitializationServlet
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>
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 |
---|
public InitializationServlet()
Method Detail |
---|
public void init() throws ServletException
init
in class GenericServlet
ServletException
- if an exception occurspublic void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |