org.jasig.portal.url.processing
Class RequestParameterProcessorListController

java.lang.Object
  extended by org.jasig.portal.url.processing.RequestParameterProcessorListController
All Implemented Interfaces:
IRequestParameterProcessorController

public class RequestParameterProcessorListController
extends Object
implements IRequestParameterProcessorController

Manages execution of IDynamicRequestParameterProcessors and IStaticRequestParameterProcessors.

Version:
$Revision: 11918 $
Author:
Eric Dalquist

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
RequestParameterProcessorListController()
           
 
Method Summary
 List<IRequestParameterProcessor> getDynamicRequestParameterProcessors()
           
 int getMaxNumberOfProcessingCycles()
           
 void processParameters(IWritableHttpServletRequest req, HttpServletResponse res)
          Process the request first with the dynamic processors until all are complete and then the static processors.
 void setDynamicRequestParameterProcessors(List<IRequestParameterProcessor> dynamicRequestParameterProcessors)
           
 void setMaxNumberOfProcessingCycles(int maxNumberOfProcessingCycles)
          Set the max number of round-robin cycles on the controller list after which, if there are still unfinished controllers the procedure is interrupted and a warning is logged, execution will continue though.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

RequestParameterProcessorListController

public RequestParameterProcessorListController()
Method Detail

getDynamicRequestParameterProcessors

public List<IRequestParameterProcessor> getDynamicRequestParameterProcessors()
Returns:
the dynamicRequestParameterProcessors

setDynamicRequestParameterProcessors

public void setDynamicRequestParameterProcessors(List<IRequestParameterProcessor> dynamicRequestParameterProcessors)
Parameters:
dynamicRequestParameterProcessors - the dynamicRequestParameterProcessors to set
Throws:
IllegalArgumentException - if the List is null or contains null elements

getMaxNumberOfProcessingCycles

public int getMaxNumberOfProcessingCycles()
Returns:
the maxNumberOfProcessingCycles

setMaxNumberOfProcessingCycles

public void setMaxNumberOfProcessingCycles(int maxNumberOfProcessingCycles)
Set the max number of round-robin cycles on the controller list after which, if there are still unfinished controllers the procedure is interrupted and a warning is logged, execution will continue though.

Parameters:
maxNumberOfProcessingCycles - The maxNumberOfProcessingCycles to set.

processParameters

public void processParameters(IWritableHttpServletRequest req,
                              HttpServletResponse res)
Process the request first with the dynamic processors until all are complete and then the static processors.

Specified by:
processParameters in interface IRequestParameterProcessorController
Parameters:
req - the incoming request
res - the outgoing response
See Also:
org.jasig.portal.url.processing.IRequestParameterController#processParameters(org.jasig.portal.url.IWritableHttpServletRequest, javax.servlet.http.HttpServletResponse)


Copyright © 2010 Jasig. All Rights Reserved.