at.gv.egovernment.moa.spss.server.service
Class ConfigurationServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--at.gv.egovernment.moa.spss.server.service.ConfigurationServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ConfigurationServlet
extends javax.servlet.http.HttpServlet

A servlet to initialize and update the MOA configuration.

Version:
$Id$
Author:
Fatemeh Philippi, Patrick Peck
See Also:
Serialized Form

Constructor Summary
ConfigurationServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle a HTTP GET request, used to indicated that the MOA configuration needs to be updated (reloaded).
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Do the same as doGet.
 void init()
          Perform some initial initialization tasks for the MOA web services application.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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

ConfigurationServlet

public ConfigurationServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  IOException
Handle a HTTP GET request, used to indicated that the MOA configuration needs to be updated (reloaded).
Overrides:
doGet in class javax.servlet.http.HttpServlet
See Also:
HttpServlet.doGet(HttpServletRequest, HttpServletResponse)

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   IOException
Do the same as doGet.
Overrides:
doPost in class javax.servlet.http.HttpServlet
See Also:
HttpServlet.doPost(HttpServletRequest, HttpServletResponse)

init

public void init()
          throws javax.servlet.ServletException
Perform some initial initialization tasks for the MOA web services application. Does an initial load of the MOA configuration to test if a working web service can be provided.
Overrides:
init in class javax.servlet.GenericServlet
See Also:
GenericServlet.init()