org.apache.qpid.management.web.action
Class ConsoleAction

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.qpid.management.web.action.ConsoleAction
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ConsoleAction
extends HttpServlet

This action is the controller responsible to prepare data for the home page (System Overview) of QMan admin console.

See Also:
Serialized Form

Constructor Summary
ConsoleAction()
           
 
Method Summary
 void init()
          Initializes this controller.
protected  void service(HttpServletRequest request, HttpServletResponse response)
          Prepares data for System Overview admin console page and forward that data to that page.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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
 

Constructor Detail

ConsoleAction

public ConsoleAction()
Method Detail

init

public void init()
Initializes this controller. Simply it computes the start date of the application.

Overrides:
init in class GenericServlet

service

protected void service(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       IOException
Prepares data for System Overview admin console page and forward that data to that page.

Overrides:
service in class HttpServlet
Throws:
ServletException - when this controller is not able to forward to the appropriate view page.
IOException - when this controller is not able to forward to the appropriate view page.


Licensed to the Apache Software Foundation