org.springdashboard.web
Class MonitorViewController

java.lang.Object
  extended by org.springdashboard.web.MonitorViewController
All Implemented Interfaces:
org.springframework.web.servlet.mvc.Controller

public class MonitorViewController
extends java.lang.Object
implements org.springframework.web.servlet.mvc.Controller

Retuns the view set in the configuration file

Author:
Amir Shevat

Constructor Summary
MonitorViewController()
           
 
Method Summary
 java.lang.String getView()
           
 org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setView(java.lang.String view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorViewController

public MonitorViewController()
Method Detail

handleRequest

public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
                                                                  javax.servlet.http.HttpServletResponse response)
                                                           throws java.lang.Exception
Specified by:
handleRequest in interface org.springframework.web.servlet.mvc.Controller
Throws:
java.lang.Exception

getView

public java.lang.String getView()
Returns:
the view -the JSP that display the statistic data

setView

public void setView(java.lang.String view)
Parameters:
view - the view to set -the JSP that display the statistic data


Copyright spacebug Open source initiative (www.spacebug.com). Amir Shevat