com.altair.hwm.fileserver.server.soap
Class HWMFileServerController

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by javax.xml.messaging.JAXMServlet
              extended by com.altair.hwm.fileserver.server.soap.HWMFileServerController
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, javax.xml.messaging.ReqRespListener

public class HWMFileServerController
extends javax.xml.messaging.JAXMServlet
implements javax.xml.messaging.ReqRespListener

Title: HWMFileServerController

Description: This is the servlet that will receive the SOAP msgs from the client and will forward the call to appropriate command objects which will parse the request, execute the request and then send back a reply

Company: Altair Engineering, Inc.

See Also:
Serialized Form

Constructor Summary
HWMFileServerController()
          Constructor
 
Method Summary
 void destroy()
           
 void init(javax.servlet.ServletConfig servletCfg)
          Does the one time initialization of: a> Initialize file server by instantiating the initializer class b> Create the command classes for each command and store it in the hashtable.
 javax.xml.soap.SOAPMessage onMessage(javax.xml.soap.SOAPMessage soapMsgReq)
          This is invoked when the base class reveives and parses the post contents into appropriate SOAP packets
 
Methods inherited from class javax.xml.messaging.JAXMServlet
doPost, setMessageFactory
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HWMFileServerController

public HWMFileServerController()
Constructor

Method Detail

init

public void init(javax.servlet.ServletConfig servletCfg)
          throws javax.servlet.ServletException
Does the one time initialization of: a> Initialize file server by instantiating the initializer class b> Create the command classes for each command and store it in the hashtable.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.xml.messaging.JAXMServlet
Parameters:
servletCfg - The servlet config class.
Throws:
javax.servlet.ServletException

onMessage

public javax.xml.soap.SOAPMessage onMessage(javax.xml.soap.SOAPMessage soapMsgReq)
This is invoked when the base class reveives and parses the post contents into appropriate SOAP packets

Specified by:
onMessage in interface javax.xml.messaging.ReqRespListener
Parameters:
soapMsgReq - The SOAP request

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet