org.apache.tiles.context.enhanced
Class EnhancedContextFactory
java.lang.Object
org.apache.tiles.context.ChainedTilesContextFactory
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) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnhancedContextFactory
public EnhancedContextFactory()
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 TilesApplicationContextrequestItems - the associated request items, typically a request and a response.
- Returns:
- TilesRequestContext
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.