cgl.narada.wsinfra.deployment
Class SOAPServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by cgl.narada.wsinfra.deployment.SOAPServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public abstract class SOAPServlet
extends HttpServlet

This is the servlet class which can be used by servlets to register themselves for dealing with specific roles. If no role needs to be associated with this servlet this can be done by over-riding the abstract method corresponding to it.

See Also:
Serialized Form

Constructor Summary
SOAPServlet()
           
 
Method Summary
 void doGet(HttpServletRequest req, HttpServletResponse res)
           
 void doPost(HttpServletRequest req, HttpServletResponse res)
           
abstract  String getRole()
           
abstract  String getServletName()
           
 void init()
           
abstract  boolean isRegisteredForSpecificRole()
           
 
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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPServlet

public SOAPServlet()
Method Detail

init

public void init()
Overrides:
init in class GenericServlet

getServletName

public abstract String getServletName()
Specified by:
getServletName in interface ServletConfig
Overrides:
getServletName in class GenericServlet

isRegisteredForSpecificRole

public abstract boolean isRegisteredForSpecificRole()

getRole

public abstract String getRole()

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse res)
           throws IOException,
                  ServletException
Overrides:
doGet in class HttpServlet
Throws:
IOException
ServletException

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse res)
            throws IOException,
                   ServletException
Overrides:
doPost in class HttpServlet
Throws:
IOException
ServletException


For comments and suggestions please send e-mail to The NaradaBrokering Project