Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tiles.portlet.context
Class PortletTilesContextFactory

    java.lang.Object
      org.apache.tiles.portlet.context.PortletTilesContextFactory

All Implemented Interfaces:
  TilesContextFactory, TilesRequestContextFactory, Initializable

Deprecated. Use `PortletTilesApplicationContextFactory` or `PortletTilesRequestContextFactory`.

    public class PortletTilesContextFactory

extends java.lang.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(java.lang.Object context)` Deprecated. Create a TilesApplicationContext for the given context.
`TilesRequestContext` | `createRequestContext(TilesApplicationContext context, java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.String> configParameters)

  Deprecated.
  Initializes the object.

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

### createApplicationContext

    public TilesApplicationContext createApplicationContext(java.lang.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,
                                                    java.lang.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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