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

org.apache.tiles.factory
Class AbstractTilesContainerFactory

Package class diagram package AbstractTilesContainerFactory
java.lang.Object
  extended by org.apache.tiles.factory.AbstractTilesContainerFactory
Direct Known Subclasses:
BasicTilesContainerFactory, TilesContainerFactory

public abstract class AbstractTilesContainerFactory
extends Object

Abstract Factory that creates instances of TilesContainerFactory.

Since:
2.1.0
Version:
$Rev: 722444 $ $Date: 2008-12-02 13:49:05 +0100 (mar, 02 dic 2008) $

Field Summary
static 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)
          Creates a factory instance.
 
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 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)
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


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