net.sf.tacos.ajax.impl
Class ResponseDelegateFactoryImpl

java.lang.Object
  extended bynet.sf.tacos.ajax.impl.ResponseDelegateFactoryImpl
All Implemented Interfaces:
ResponseDelegateFactory

public class ResponseDelegateFactoryImpl
extends Object
implements ResponseDelegateFactory

Implementation of ResponseDelegateFactory.

Author:
jkuhnert

Field Summary
protected  List responseContributors
          Configured response contribution choosers
 
Constructor Summary
ResponseDelegateFactoryImpl()
           
 
Method Summary
 ResponseBuilder getResponseBuilder(IRequestCycle cycle, WebRequest request)
          Creates an appropriate ResponseBuilder for the incoming ajax request, if possible.
 void setResponseContributors(List responseContributors)
          Sets a configured list of ResponseContributor objects to be used in processing ajax requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

responseContributors

protected List responseContributors
Configured response contribution choosers

Constructor Detail

ResponseDelegateFactoryImpl

public ResponseDelegateFactoryImpl()
Method Detail

getResponseBuilder

public ResponseBuilder getResponseBuilder(IRequestCycle cycle,
                                          WebRequest request)
Creates an appropriate ResponseBuilder for the incoming ajax request, if possible.

Specified by:
getResponseBuilder in interface ResponseDelegateFactory
Parameters:
cycle -
request -
Returns:
The configured response builder, or null if none could be found.

setResponseContributors

public void setResponseContributors(List responseContributors)
Sets a configured list of ResponseContributor objects to be used in processing ajax requests.