|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.factory.AbstractTilesContainerFactory
public abstract class AbstractTilesContainerFactory
Abstract Factory that creates instances of TilesContainerFactory
.
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(java.lang.Object context)
Creates a Tiles container. |
protected static java.lang.String |
getInitParameter(java.lang.Object context,
java.lang.String parameterName)
Returns the value of an initialization parameter. |
protected static java.util.Map<java.lang.String,java.lang.String> |
getInitParameterMap(java.lang.Object context)
Returns a map containing parameters name-value entries. |
static AbstractTilesContainerFactory |
getTilesContainerFactory(java.lang.Object 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 |
---|
public static final java.lang.String CONTAINER_FACTORY_INIT_PARAM
Constructor Detail |
---|
public AbstractTilesContainerFactory()
Method Detail |
---|
public static AbstractTilesContainerFactory getTilesContainerFactory(java.lang.Object context)
context
- The application context object.
TilesContainerFactoryException
- If something goes wrong during
creation.public abstract TilesContainer createContainer(java.lang.Object context)
context
- The (application) context object.
TilesContainerFactoryException
- If something goes wrong during
instantiation.protected static java.util.Map<java.lang.String,java.lang.String> getInitParameterMap(java.lang.Object context)
context
- The (application) context object to use.
TilesContainerFactoryException
- If the context object has not been
recognized.protected static java.lang.String getInitParameter(java.lang.Object context, java.lang.String parameterName)
context
- The (application) context object to use.parameterName
- The parameter name to retrieve.
TilesContainerFactoryException
- If the context has not been
recognized.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |