org.apache.tapestry.services.impl
Class RequestCycleFactoryImpl

java.lang.Object
  extended by org.apache.tapestry.services.impl.RequestCycleFactoryImpl
All Implemented Interfaces:
RequestCycleFactory

public class RequestCycleFactoryImpl
extends Object
implements RequestCycleFactory

Service that creates instances of IRequestCycleon behalf of an engine.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
RequestCycleFactoryImpl()
           
 
Method Summary
 ResponseDelegateFactory getResponseDelegateFactory()
          For subclass access.
 void initializeService()
           
 IRequestCycle newRequestCycle(IEngine engine)
          Constructs the new instance using the request context.
 void setAbsoluteURLBuilder(AbsoluteURLBuilder absoluteURLBuilder)
           
 void setEncoders(ServiceEncoder[] encoders)
           
 void setErrorHandler(org.apache.hivemind.ErrorHandler errorHandler)
           
 void setInfrastructure(Infrastructure infrastructure)
           
 void setRequestGlobals(RequestGlobals requestGlobals)
           
 void setResponseDelegateFactory(ResponseDelegateFactory responseDelegate)
          For injection.
 void setStrategySource(PropertyPersistenceStrategySource strategySource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestCycleFactoryImpl

public RequestCycleFactoryImpl()
Method Detail

initializeService

public void initializeService()

newRequestCycle

public IRequestCycle newRequestCycle(IEngine engine)
Description copied from interface: RequestCycleFactory
Constructs the new instance using the request context. This includes accessing ServiceEncoders to restore any missing query parameters (that were encoding into the URL).

Specified by:
newRequestCycle in interface RequestCycleFactory

setEncoders

public void setEncoders(ServiceEncoder[] encoders)

setStrategySource

public void setStrategySource(PropertyPersistenceStrategySource strategySource)

setErrorHandler

public void setErrorHandler(org.apache.hivemind.ErrorHandler errorHandler)

setInfrastructure

public void setInfrastructure(Infrastructure infrastructure)

setAbsoluteURLBuilder

public void setAbsoluteURLBuilder(AbsoluteURLBuilder absoluteURLBuilder)

setRequestGlobals

public void setRequestGlobals(RequestGlobals requestGlobals)

setResponseDelegateFactory

public void setResponseDelegateFactory(ResponseDelegateFactory responseDelegate)
For injection.


getResponseDelegateFactory

public ResponseDelegateFactory getResponseDelegateFactory()
For subclass access.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.