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

org.apache.tiles.servlet.context
Class ServletTilesContextFactory

Package class diagram package ServletTilesContextFactory
java.lang.Object
  extended by org.apache.tiles.servlet.context.ServletTilesContextFactory
All Implemented Interfaces:
TilesContextFactory, TilesRequestContextFactory, Initializable
Direct Known Subclasses:
JspTilesContextFactory

Deprecated.

@Deprecated
public class ServletTilesContextFactory
extends Object
implements TilesContextFactory

Author:
PTRNTN77A26E506O

Constructor Summary
ServletTilesContextFactory()
          Deprecated. Do not use! No replacement.
 
Method Summary
 TilesApplicationContext createApplicationContext(Object context)
          Deprecated. Create a TilesApplicationContext for the given context.
 TilesRequestContext createRequestContext(TilesApplicationContext context, Object... requestItems)
          Deprecated. Create a TilesRequestContext for the given context, request, and response.
protected  ServletContext getServletContext(TilesApplicationContext context)
          Deprecated. Use TilesApplicationContext.getContext().
 void init(Map<String,String> configParameters)
          Deprecated. Initializes the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletTilesContextFactory

@Deprecated
public ServletTilesContextFactory()
Deprecated. Do not use! No replacement.

Constructor.

Method Detail

init

public void init(Map<String,String> configParameters)
Deprecated. 
Initializes the object.

Specified by:
init in interface Initializable
Parameters:
configParameters - The map of parameters.

createApplicationContext

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

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

createRequestContext

public TilesRequestContext createRequestContext(TilesApplicationContext context,
                                                Object... requestItems)
Deprecated. 
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

getServletContext

@Deprecated
protected ServletContext getServletContext(TilesApplicationContext context)
Deprecated. Use TilesApplicationContext.getContext().

Returns the original servlet context.

Parameters:
context - The application context.
Returns:
The original servlet context, if found.


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