This project has retired. For details please refer to its Attic page.
ServletTilesRequestContextFactory (Tiles 2 2.1.4 API)

org.apache.tiles.servlet.context
Class ServletTilesRequestContextFactory

Package class diagram package ServletTilesRequestContextFactory
java.lang.Object
  extended by org.apache.tiles.servlet.context.ServletTilesRequestContextFactory
All Implemented Interfaces:
TilesRequestContextFactory, Initializable

public class ServletTilesRequestContextFactory
extends Object
implements TilesRequestContextFactory

Creates an instance of the appropriate TilesRequestContext implementation in a servlet environment.

Since:
2.1.1
Version:
$Rev: 711885 $ $Date: 2008-11-06 17:06:38 +0100 (gio, 06 nov 2008) $

Constructor Summary
ServletTilesRequestContextFactory()
           
 
Method Summary
 TilesRequestContext createRequestContext(TilesApplicationContext context, Object... requestItems)
          Create a TilesRequestContext for the given context, request, and response.
 void init(Map<String,String> configParameters)
          Initializes the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletTilesRequestContextFactory

public ServletTilesRequestContextFactory()
Method Detail

init

public void init(Map<String,String> configParameters)
Initializes the object.

Specified by:
init in interface Initializable
Parameters:
configParameters - The map of parameters.

createRequestContext

public TilesRequestContext createRequestContext(TilesApplicationContext context,
                                                Object... requestItems)
Create a TilesRequestContext for the given context, request, and response.

Specified by:
createRequestContext in interface TilesRequestContextFactory
Parameters:
context - the associated TilesApplicationContext
requestItems - the associated request items, typically a request and a response.
Returns:
TilesRequestContext


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.