org.apache.tiles.jsp.context
Class JspTilesContextFactory

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

Deprecated. Use JspTilesRequestContextFactory.

public class JspTilesContextFactory
extends ServletTilesContextFactory

Creates an instance of the appropriate TilesApplicationContext implementation.


Constructor Summary
JspTilesContextFactory()
          Deprecated. Do not use! No replacement.
 
Method Summary
 TilesRequestContext createRequestContext(TilesApplicationContext context, java.lang.Object... requestItems)
          Deprecated. Create a TilesRequestContext for the given context, request, and response.
protected  javax.servlet.ServletContext getServletContext(TilesApplicationContext context)
          Deprecated. Use TilesApplicationContext.getContext().
 
Methods inherited from class org.apache.tiles.servlet.context.ServletTilesContextFactory
createApplicationContext, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspTilesContextFactory

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

Constructor.

Method Detail

createRequestContext

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

Specified by:
createRequestContext in interface TilesRequestContextFactory
Overrides:
createRequestContext in class ServletTilesContextFactory
Parameters:
context - the associated TilesApplicationContext
requestItems - the associated request items, typically a request and a response.
Returns:
TilesRequestContext

getServletContext

protected javax.servlet.ServletContext getServletContext(TilesApplicationContext context)
Deprecated. Use TilesApplicationContext.getContext().

Returns the original servlet context.

Overrides:
getServletContext in class ServletTilesContextFactory
Parameters:
context - The application context.
Returns:
The original servlet context, if found.