org.wso2.wsas
Class MainServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.wso2.wsas.MainServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, Controllable
public class MainServlet
- extends javax.servlet.http.HttpServlet
- implements Controllable
- See Also:
- Serialized Form
| 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 |
serverManager
protected ServerManager serverManager
serverName
protected java.lang.String serverName
MainServlet
public MainServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
start
public void start(javax.servlet.ServletConfig servletConfig)
throws org.wso2.utils.ServerException
- Throws:
org.wso2.utils.ServerException
setAxis2RepoLocation
public void setAxis2RepoLocation(java.lang.String axis2RepoLocation)
- Specified by:
setAxis2RepoLocation in interface Controllable
setMonitor
public void setMonitor(Monitor monitor)
- Specified by:
setMonitor in interface Controllable
startServer
public void startServer()
throws org.wso2.utils.ServerException
- Specified by:
startServer in interface Controllable
- Throws:
org.wso2.utils.ServerException
stopListeners
public void stopListeners()
throws org.wso2.utils.ServerException
- Specified by:
stopListeners in interface Controllable
- Throws:
org.wso2.utils.ServerException
restart
public void restart()
- Specified by:
restart in interface Controllable
restartGracefully
public void restartGracefully()
- Specified by:
restartGracefully in interface Controllable
shutdown
public void shutdown()
- Specified by:
shutdown in interface Controllable
shutdownGracefully
public void shutdownGracefully()
- Specified by:
shutdownGracefully in interface Controllable
getShutdownHook
public java.lang.Thread getShutdownHook()
- Specified by:
getShutdownHook in interface Controllable
setConfigurationContext
public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext newConfigCtx)
throws org.wso2.utils.ServerException
- Specified by:
setConfigurationContext in interface Controllable
- Throws:
org.wso2.utils.ServerException
getConfigurationContext
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
- Specified by:
getConfigurationContext in interface Controllable
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet- Overrides:
destroy in class javax.servlet.GenericServlet