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

org.apache.tiles.portlet.context
Class PortletTilesContextFactory

Package class diagram package PortletTilesContextFactory
java.lang.Object
  extended by org.apache.tiles.portlet.context.PortletTilesContextFactory
All Implemented Interfaces:
TilesContextFactory, TilesRequestContextFactory, Initializable

Deprecated. Use PortletTilesApplicationContextFactory or PortletTilesRequestContextFactory.

public class PortletTilesContextFactory
extends Object
implements TilesContextFactory

Creates an instance of the appropriate TilesApplicationContext implementation.

Version:
$Rev: 711885 $ $Date: 2008-11-06 17:06:38 +0100 (gio, 06 nov 2008) $

Constructor Summary
PortletTilesContextFactory()
          Deprecated.  
 
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  javax.portlet.PortletContext getPortletContext(TilesApplicationContext context)
          Deprecated. Use PortletTilesRequestContextFactory.getPortletContext(TilesApplicationContext) .
 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

PortletTilesContextFactory

public PortletTilesContextFactory()
Deprecated. 
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

getPortletContext

@Deprecated
protected javax.portlet.PortletContext getPortletContext(TilesApplicationContext context)
Deprecated. Use PortletTilesRequestContextFactory.getPortletContext(TilesApplicationContext) .

Returns the original portlet context.

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


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