com.hack23.cia.web.impl.ui.controller.monitoring
Class MonitorActionHandler

Package class diagram package MonitorActionHandler
java.lang.Object
  extended by com.hack23.cia.web.impl.ui.controller.common.AbstractGenericHandler<ACTION,REQUEST,RESPONSE>
      extended by com.hack23.cia.web.impl.ui.controller.monitoring.AbstractMonitorActionHandler<MonitorAdminAction,MonitorRequest,MonitorResponse>
          extended by com.hack23.cia.web.impl.ui.controller.monitoring.MonitorActionHandler
All Implemented Interfaces:
ActionHandler

public class MonitorActionHandler
extends AbstractMonitorActionHandler<MonitorAdminAction,MonitorRequest,MonitorResponse>

The Class MonitorActionHandler.


Constructor Summary
Constructor and Description
MonitorActionHandler(ViewFactoryService viewFactoryService, ApplicationManager applicationManager)
          Instantiates a new monitor action handler.
 
Method Summary
Modifier and Type Method and Description
 MonitorRequest createServiceRequest(MonitorAdminAction action)
          Creates the service request.
 Class getSupportedAction()
          Gets the supported action.
 ModelAndView handleSuccessResponse(MonitorAdminAction action, MonitorResponse response)
          Handle success response.
 
Methods inherited from class com.hack23.cia.web.impl.ui.controller.common.AbstractGenericHandler
getApplicationDtoFactory, getApplicationManager, getUserStateService, getViewFactoryService, processAction, setApplicationDtoFactory, setUserStateService, setViewFactoryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorActionHandler

public MonitorActionHandler(ViewFactoryService viewFactoryService,
                            ApplicationManager applicationManager)
Instantiates a new monitor action handler.

Parameters:
viewFactoryService - the view factory service
applicationManager - the application manager
Method Detail

createServiceRequest

public final MonitorRequest createServiceRequest(MonitorAdminAction action)
Description copied from class: AbstractGenericHandler
Creates the service request.

Specified by:
createServiceRequest in class AbstractGenericHandler<MonitorAdminAction,MonitorRequest,MonitorResponse>
Parameters:
action - the action
Returns:
the rEQUEST

getSupportedAction

public final Class getSupportedAction()
Description copied from interface: ActionHandler
Gets the supported action.

Returns:
the supported action

handleSuccessResponse

public final ModelAndView handleSuccessResponse(MonitorAdminAction action,
                                                MonitorResponse response)
Description copied from class: AbstractGenericHandler
Handle success response.

Specified by:
handleSuccessResponse in class AbstractGenericHandler<MonitorAdminAction,MonitorRequest,MonitorResponse>
Parameters:
action - the action
response - the response
Returns:
the model and view


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.