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

org.apache.tiles.freemarker.context
Class FreeMarkerTilesRequestContextFactory

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

public class FreeMarkerTilesRequestContextFactory
extends Object
implements TilesRequestContextFactory, TilesRequestContextFactoryAware

The FreeMarker-specific request context factory.

Since:
2.2.0
Version:
$Rev: 831448 $ $Date: 2009-10-30 21:39:52 +0100 (ven, 30 ott 2009) $

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

Constructor Detail

FreeMarkerTilesRequestContextFactory

public FreeMarkerTilesRequestContextFactory()
Method Detail

setRequestContextFactory

public void setRequestContextFactory(TilesRequestContextFactory contextFactory)
Sets the Tiles request context factory.

Specified by:
setRequestContextFactory in interface TilesRequestContextFactoryAware
Parameters:
contextFactory - The Tiles context factory.

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

init

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

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


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