com.caucho.server.admin
Class ManagementServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by com.caucho.server.admin.ManagementServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class ManagementServlet
extends GenericServlet

See Also:
Serialized Form

Constructor Summary
ManagementServlet()
           
 
Method Summary
 void init(ServletConfig config)
          Initialize the servlet.
 void service(ServletRequest request, ServletResponse response)
          Service a request.
 void setService(ManagementService service)
           
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagementServlet

public ManagementServlet()
Method Detail

setService

public void setService(ManagementService service)

init

public void init(ServletConfig config)
          throws ServletException
Description copied from class: GenericServlet
Initialize the servlet. Most servlets should override the zero parameter init() instead.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config - the servlet's configuration
Throws:
ServletException

service

public void service(ServletRequest request,
                    ServletResponse response)
             throws java.io.IOException,
                    ServletException
Description copied from interface: Servlet
Service a request. Since the servlet engine is multithreaded, many threads may execute service simultaneously. Normally, req and res will actually be HttpServletRequest and HttpServletResponse classes.

Parameters:
request - request information. Normally servlets will cast this to HttpServletRequest
response - response information. Normally servlets will cast this to HttpServletRequest
Throws:
java.io.IOException
ServletException