com.hack23.cia.web.controller.application
Class FrontController

Package class diagram package FrontController
java.lang.Object
  extended by com.hack23.cia.web.controller.application.FrontController
All Implemented Interfaces:
Controller

public class FrontController
extends Object
implements Controller

The Class FrontController.


Constructor Summary
FrontController(List<ActionHandler> actionHandlers, ActionHandler defaultActionHandler)
          Instantiates a new front controller.
 
Method Summary
 Map<Class<ControllerAction>,ActionHandler> getActionHandlersMap()
          Gets the action handlers map.
 ActionHandler getDefaultActionHandler()
          Gets the default action handler.
 void handleAction(ControllerAction action)
          Handle action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrontController

public FrontController(List<ActionHandler> actionHandlers,
                       ActionHandler defaultActionHandler)
Instantiates a new front controller.

Parameters:
actionHandlers - the action handlers
defaultActionHandler - the default action handler
Method Detail

getActionHandlersMap

public final Map<Class<ControllerAction>,ActionHandler> getActionHandlersMap()
Gets the action handlers map.

Returns:
the action handlers map

getDefaultActionHandler

public final ActionHandler getDefaultActionHandler()
Gets the default action handler.

Returns:
the default action handler

handleAction

public final void handleAction(ControllerAction action)
Description copied from interface: Controller
Handle action.

Specified by:
handleAction in interface Controller
Parameters:
action - the action


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