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

org.apache.tiles.context.enhanced
Class EnhancedContextFactory

Package class diagram package EnhancedContextFactory
java.lang.Object
  extended by org.apache.tiles.context.ChainedTilesContextFactory
      extended by org.apache.tiles.context.enhanced.EnhancedContextFactory
All Implemented Interfaces:
TilesContextFactory

public class EnhancedContextFactory
extends ChainedTilesContextFactory

Tiles context factory to be used together with EnhancedTilesApplicationContext.

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

Field Summary
 
Fields inherited from class org.apache.tiles.context.ChainedTilesContextFactory
DEFAULT_FACTORY_CLASS_NAMES, FACTORY_CLASS_NAMES
 
Constructor Summary
EnhancedContextFactory()
           
 
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.
 
Methods inherited from class org.apache.tiles.context.ChainedTilesContextFactory
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhancedContextFactory

public EnhancedContextFactory()
Method Detail

createApplicationContext

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

Specified by:
createApplicationContext in interface TilesContextFactory
Overrides:
createApplicationContext in class ChainedTilesContextFactory
Parameters:
context - The (application) context to use.
Returns:
TilesApplicationContext The Tiles application context.

createRequestContext

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

Specified by:
createRequestContext in interface TilesContextFactory
Overrides:
createRequestContext in class ChainedTilesContextFactory
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.