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.factory
Class AbstractTilesContainerFactory

    java.lang.Object
      org.apache.tiles.factory.AbstractTilesContainerFactory

Direct Known Subclasses:
  BasicTilesContainerFactory, TilesContainerFactory

    public abstract class AbstractTilesContainerFactory

extends java.lang.Object

Abstract Factory that creates instances of `TilesContainerFactory`.

Since:
  2.1.0
Version:
  $Rev: 797540 $ $Date: 2009-07-24 17:42:00 +0200 (ven, 24 lug 2009) $

Field Summary
`static java.lang.String` | `CONTAINER_FACTORY_INIT_PARAM` Initialization parameter that represents the container factory class name.

Constructor Summary
`AbstractTilesContainerFactory()`

Method Summary
`abstract TilesContainer` | `createContainer(TilesApplicationContext applicationContext)` Creates a Tiles container.
`static AbstractTilesContainerFactory` | `getTilesContainerFactory(TilesApplicationContext context)` Deprecated. Create directly a new instance of this class.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### CONTAINER_FACTORY_INIT_PARAM

    public static final java.lang.String CONTAINER_FACTORY_INIT_PARAM

  Initialization parameter that represents the container factory class name.

  Since:
    2.1.0
  See Also:
    Constant Field Values

Constructor Detail

### AbstractTilesContainerFactory

    public AbstractTilesContainerFactory()

Method Detail

### getTilesContainerFactory

    public static AbstractTilesContainerFactory getTilesContainerFactory(TilesApplicationContext context)

  Deprecated. Create directly a new instance of this class.

  Creates a factory instance.

  Parameters:
    `context` - The application context object.
  Returns:
    The created factory.
  Throws:
    `TilesContainerFactoryException` - If something goes wrong during creation.
  Since:
    2.1.1

### createContainer

    public abstract TilesContainer createContainer(TilesApplicationContext applicationContext)

  Creates a Tiles container.

  Parameters:
    `applicationContext` - The Tiles application context object.
  Returns:
    The created container.
  Throws:
    `TilesContainerFactoryException` - If something goes wrong during instantiation.
  Since:
    2.1.1

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.