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
-
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 TypeMethodDescriptioncreateContainer
(ApplicationContext applicationContext) createDefinitionsFactory
(TilesPluginContainer container, ApplicationContext applicationContext) Creates the definitions factory.protected List
<ApplicationResource> getSources
(ApplicationContext applicationContext) Returns a list containing the URLs to be parsed.protected TilesPluginContainer
instantiateContainer
(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
- Overrides:
createContainer
in classBasicTilesContainerFactory
-
instantiateContainer
- Overrides:
instantiateContainer
in classBasicTilesContainerFactory
-
getSources
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 classBasicTilesContainerFactory
- Parameters:
applicationContext
- The Tiles application context.- Returns:
- The source URLs.
- Since:
- Struts 1.4.1
-
createDefinitionsFactory
public DefinitionsFactory createDefinitionsFactory(TilesPluginContainer container, 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
-