org.apache.synapse.core.axis2
Class SynapseStartUpServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.synapse.core.axis2.SynapseStartUpServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class SynapseStartUpServlet
extends HttpServlet

When Synapse is deployed on a WAR container, this is the init servlet that kicks off the Synapse instance, calling on the ServerManager

See Also:
Serialized Form

Field Summary
static String SYNAPSE_SERVER_MANAGER
           
 
Constructor Summary
SynapseStartUpServlet()
           
 
Method Summary
 void destroy()
           
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, 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
 

Field Detail

SYNAPSE_SERVER_MANAGER

public static final String SYNAPSE_SERVER_MANAGER
See Also:
Constant Field Values
Constructor Detail

SynapseStartUpServlet

public SynapseStartUpServlet()
Method Detail

init

public void init()
          throws ServletException
Overrides:
init in class GenericServlet
Throws:
ServletException

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException

destroy

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


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.