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

org.apache.tiles.velocity.context
Class VelocityTilesRequestContextFactory

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

public class VelocityTilesRequestContextFactory
extends Object
implements TilesRequestContextFactory, TilesRequestContextFactoryAware

The implementation of the Tiles request context factory specific for Velocity.

Since:
2.2.0
Version:
$Rev: 765774 $ $Date: 2009-04-16 23:43:00 +0200 (gio, 16 apr 2009) $

Constructor Summary
VelocityTilesRequestContextFactory()
           
 
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

VelocityTilesRequestContextFactory

public VelocityTilesRequestContextFactory()
Method Detail

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.

setRequestContextFactory

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

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


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