|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.factory.AbstractTilesContainerFactory
org.apache.tiles.factory.TilesContainerFactory
org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory
public class KeyedDefinitionsFactoryTilesContainerFactory
Factory that creates instances of container that will extend the
KeyedDefinitionsFactoryTilesContainer
class.
Field Summary | |
---|---|
protected TilesApplicationContext |
applicationContext
The application context. |
static java.lang.String |
CONTAINER_KEYS_INIT_PARAM
The name of the initialization parameter that will contain a comma-separated list of keys to use. |
static java.lang.String |
KEY_EXTRACTOR_CLASS_INIT_PARAM
Init parameter name that contains the class name for the key extractor. |
Fields inherited from class org.apache.tiles.factory.TilesContainerFactory |
---|
ATTRIBUTE_EVALUATOR_INIT_PARAM, CONTAINER_FACTORY_INIT_PARAM, CONTAINER_FACTORY_MUTABLE_INIT_PARAM, CONTEXT_FACTORY_INIT_PARAM, defaultConfiguration, DEFINITIONS_FACTORY_INIT_PARAM, PREPARER_FACTORY_INIT_PARAM, RENDERER_FACTORY_INIT_PARAM |
Constructor Summary | |
---|---|
KeyedDefinitionsFactoryTilesContainerFactory()
|
Method Summary | |
---|---|
DefinitionsFactory |
createDefinitionsFactory(java.lang.Object context)
Creates a definitions factory. |
MutableTilesContainer |
createMutableTilesContainer(java.lang.Object context)
Creates a mutable Tiles container. |
TilesContainer |
createTilesContainer(java.lang.Object context)
Creates an immutable Tiles container. |
protected void |
postCreationOperations(TilesContextFactory contextFactory,
TilesApplicationContext tilesContext,
RendererFactory rendererFactory,
AttributeEvaluator evaluator,
java.util.Map<java.lang.String,java.lang.String> initParameters,
java.util.Map<java.lang.String,java.lang.String> configuration,
BasicTilesContainer container)
After the creation of the elements, it is possible to do other operations that will be done after the creation and before the assignment to the container. |
protected void |
storeContainerDependencies(java.lang.Object context,
java.util.Map<java.lang.String,java.lang.String> initParameters,
java.util.Map<java.lang.String,java.lang.String> configuration,
BasicTilesContainer container)
Stores container dependencies, that is called before TilesContainer.init(Map) . |
Methods inherited from class org.apache.tiles.factory.TilesContainerFactory |
---|
createContainer, createFactory, getFactory, getFactory, initializeContainer, resolveFactoryName, setDefaultConfiguration, setDefaultValue |
Methods inherited from class org.apache.tiles.factory.AbstractTilesContainerFactory |
---|
getInitParameter, getInitParameterMap, getTilesContainerFactory |
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_KEYS_INIT_PARAM
public static final java.lang.String KEY_EXTRACTOR_CLASS_INIT_PARAM
protected TilesApplicationContext applicationContext
Constructor Detail |
---|
public KeyedDefinitionsFactoryTilesContainerFactory()
Method Detail |
---|
public MutableTilesContainer createMutableTilesContainer(java.lang.Object context)
createMutableTilesContainer
in class TilesContainerFactory
context
- The (application) context object.
public TilesContainer createTilesContainer(java.lang.Object context)
createTilesContainer
in class TilesContainerFactory
context
- The (application) context object.
public DefinitionsFactory createDefinitionsFactory(java.lang.Object context)
context
- The context object to use.
TilesContainerFactoryException
- If something goes wrong.protected void storeContainerDependencies(java.lang.Object context, java.util.Map<java.lang.String,java.lang.String> initParameters, java.util.Map<java.lang.String,java.lang.String> configuration, BasicTilesContainer container)
TilesContainer.init(Map)
.
storeContainerDependencies
in class TilesContainerFactory
context
- The (application) context object to use.initParameters
- The initialization parameters.configuration
- The merged configuration parameters (both defaults
and context ones).container
- The container to use.protected void postCreationOperations(TilesContextFactory contextFactory, TilesApplicationContext tilesContext, RendererFactory rendererFactory, AttributeEvaluator evaluator, java.util.Map<java.lang.String,java.lang.String> initParameters, java.util.Map<java.lang.String,java.lang.String> configuration, BasicTilesContainer container)
postCreationOperations
in class TilesContainerFactory
contextFactory
- The Tiles context factory.tilesContext
- The Tiles application context.rendererFactory
- The renderer factory.evaluator
- The attribute evaluator.initParameters
- The initialization parameters.configuration
- The merged configuration parameters (both defaults
and context ones).container
- The container to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |