org.jasig.portlet.test.mvc
Class TestDelegatingSelectorController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.portlet.context.PortletApplicationObjectSupport
          extended by org.springframework.web.portlet.handler.PortletContentGenerator
              extended by org.springframework.web.portlet.mvc.AbstractController
                  extended by org.jasig.portlet.test.mvc.TestDelegatingSelectorController
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.mvc.Controller

public class TestDelegatingSelectorController
extends org.springframework.web.portlet.mvc.AbstractController

Central hub for test execution.

Version:
$Revision$
Author:
Eric Dalquist

Field Summary
static String CURRENT_TEST_ATTR
           
protected  org.slf4j.Logger logger
           
static String TEST_CONTROLLER_NAMES_ATTR
           
 
Constructor Summary
TestDelegatingSelectorController()
           
 
Method Summary
protected  String getCurrentTestName(javax.portlet.PortletRequest request)
           
 Map<String,org.springframework.web.portlet.mvc.Controller> getTestControllers()
           
protected  void handleActionRequestInternal(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
protected  org.springframework.web.portlet.ModelAndView handleRenderRequestInternal(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void setTestControllers(Map<String,org.springframework.web.portlet.mvc.Controller> testControllers)
           
 
Methods inherited from class org.springframework.web.portlet.mvc.AbstractController
handleActionRequest, handleRenderRequest, isRenderWhenMinimized, isSynchronizeOnSession, setRenderWhenMinimized, setSynchronizeOnSession
 
Methods inherited from class org.springframework.web.portlet.handler.PortletContentGenerator
applyCacheSeconds, cacheForSeconds, check, checkAndPrepare, checkAndPrepare, getCacheSeconds, isRequireSession, preventCaching, setCacheSeconds, setRequireSession
 
Methods inherited from class org.springframework.web.portlet.context.PortletApplicationObjectSupport
getPortletContext, getTempDir, isContextRequired, setPortletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_TEST_ATTR

public static final String CURRENT_TEST_ATTR

TEST_CONTROLLER_NAMES_ATTR

public static final String TEST_CONTROLLER_NAMES_ATTR

logger

protected final org.slf4j.Logger logger
Constructor Detail

TestDelegatingSelectorController

public TestDelegatingSelectorController()
Method Detail

getTestControllers

public Map<String,org.springframework.web.portlet.mvc.Controller> getTestControllers()
Returns:
the testControllers

setTestControllers

public void setTestControllers(Map<String,org.springframework.web.portlet.mvc.Controller> testControllers)
Parameters:
testControllers - the testControllers to set

handleActionRequestInternal

protected void handleActionRequestInternal(javax.portlet.ActionRequest request,
                                           javax.portlet.ActionResponse response)
                                    throws Exception
Overrides:
handleActionRequestInternal in class org.springframework.web.portlet.mvc.AbstractController
Throws:
Exception

handleRenderRequestInternal

protected org.springframework.web.portlet.ModelAndView handleRenderRequestInternal(javax.portlet.RenderRequest request,
                                                                                   javax.portlet.RenderResponse response)
                                                                            throws Exception
Overrides:
handleRenderRequestInternal in class org.springframework.web.portlet.mvc.AbstractController
Throws:
Exception

getCurrentTestName

protected String getCurrentTestName(javax.portlet.PortletRequest request)


Copyright © 2012 Jasig. All Rights Reserved.