Package org.apache.struts.tiles2
Class TilesPluginContainerFactory
java.lang.Object
org.apache.tiles.factory.AbstractTilesContainerFactory
org.apache.tiles.factory.BasicTilesContainerFactory
org.apache.struts.tiles2.TilesPluginContainerFactory
public class TilesPluginContainerFactory
extends org.apache.tiles.factory.BasicTilesContainerFactory
-
Field Summary
Fields inherited from class org.apache.tiles.factory.BasicTilesContainerFactory
DEFINITION_RENDERER_NAME, STRING_RENDERER_NAME, TEMPLATE_RENDERER_NAME
Fields inherited from class org.apache.tiles.factory.AbstractTilesContainerFactory
CONTAINER_FACTORY_INIT_PARAM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tiles.TilesContainer
createContainer
(org.apache.tiles.request.ApplicationContext applicationContext) org.apache.tiles.definition.DefinitionsFactory
createDefinitionsFactory
(TilesPluginContainer container, org.apache.tiles.request.ApplicationContext applicationContext) Creates the definitions factory.protected List
<org.apache.tiles.request.ApplicationResource> getSources
(org.apache.tiles.request.ApplicationContext applicationContext) Returns a list containing the URLs to be parsed.protected TilesPluginContainer
instantiateContainer
(org.apache.tiles.request.ApplicationContext context) Methods inherited from class org.apache.tiles.factory.BasicTilesContainerFactory
createAttributeEvaluatorFactory, createDecoratedContainer, createDefaultAttributeRenderer, createDefinitionAttributeRenderer, createDefinitionsFactory, createDefinitionsReader, createLocaleDefinitionDao, createLocaleResolver, createPatternDefinitionResolver, createPreparerFactory, createRendererFactory, createStringAttributeRenderer, createTemplateAttributeRenderer, instantiateDefinitionsFactory, instantiateLocaleDefinitionDao, registerAttributeRenderers
-
Constructor Details
-
TilesPluginContainerFactory
public TilesPluginContainerFactory()
-
-
Method Details
-
createContainer
public org.apache.tiles.TilesContainer createContainer(org.apache.tiles.request.ApplicationContext applicationContext) - Overrides:
createContainer
in classorg.apache.tiles.factory.BasicTilesContainerFactory
-
instantiateContainer
protected TilesPluginContainer instantiateContainer(org.apache.tiles.request.ApplicationContext context) - Overrides:
instantiateContainer
in classorg.apache.tiles.factory.BasicTilesContainerFactory
-
getSources
protected List<org.apache.tiles.request.ApplicationResource> getSources(org.apache.tiles.request.ApplicationContext applicationContext) Returns a list containing the URLs to be parsed. By default, it returns a list containing the URL point to "definitions-config".- Overrides:
getSources
in classorg.apache.tiles.factory.BasicTilesContainerFactory
- Parameters:
applicationContext
- The Tiles application context.- Returns:
- The source URLs.
- Since:
- Struts 1.4.1
-
createDefinitionsFactory
public org.apache.tiles.definition.DefinitionsFactory createDefinitionsFactory(TilesPluginContainer container, org.apache.tiles.request.ApplicationContext applicationContext) Creates the definitions factory. By default it creates aUnresolvingLocaleDefinitionsFactory
with default dependencies.- Parameters:
container
- The Tiles-Plugin-Container.applicationContext
- The Tiles application context.- Returns:
- The definitions factory.
- Since:
- Struts 1.4.1
-