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

org.apache.tiles.context
Interface TilesContextFactory

Package class diagram package TilesContextFactory
All Known Implementing Classes:
ChainedTilesContextFactory, EnhancedContextFactory, JspTilesContextFactory, PortletTilesContextFactory, ServletTilesContextFactory

public interface TilesContextFactory

Creates an instance of the appropriate TilesApplicationContext implementation.

Since:
Sep 21, 2006
Version:
$Rev: 527536 $ $Date: 2007-04-11 17:44:51 +0200 (Wed, 11 Apr 2007) $

Method Summary
 TilesApplicationContext createApplicationContext(Object context)
          Create a TilesApplicationContext for the given context.
 TilesRequestContext createRequestContext(TilesApplicationContext context, Object... requestItems)
          Create a TilesRequestContext for the given context, request, and response.
 void init(Map<String,String> configurationParameters)
          Initialize the factory.
 

Method Detail

init

void init(Map<String,String> configurationParameters)
Initialize the factory.

Parameters:
configurationParameters - A map of parameters.

createApplicationContext

TilesApplicationContext createApplicationContext(Object context)
Create a TilesApplicationContext for the given context.

Parameters:
context - The (application) context to use.
Returns:
TilesApplicationContext The Tiles application context.

createRequestContext

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

Parameters:
context - the associated TilesApplicationContext
requestItems - the associated request items, typically a request and a response.
Returns:
TilesRequestContext


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