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

org.apache.tiles.jsp.context
Class JspTilesRequestContextFactory

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

public class JspTilesRequestContextFactory
extends Object
implements TilesRequestContextFactory, TilesRequestContextFactoryAware

Creates an instance of the appropriate TilesRequestContext implementation under a JSP environment.

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

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

JspTilesRequestContextFactory

public JspTilesRequestContextFactory()
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.

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


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