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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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.
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TilesPluginContainerFactory

      public TilesPluginContainerFactory()
  • Method Details

    • createContainer

      public org.apache.tiles.TilesContainer createContainer(org.apache.tiles.request.ApplicationContext applicationContext)
      Overrides:
      createContainer in class org.apache.tiles.factory.BasicTilesContainerFactory
    • instantiateContainer

      protected TilesPluginContainer instantiateContainer(org.apache.tiles.request.ApplicationContext context)
      Overrides:
      instantiateContainer in class org.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 class org.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 a UnresolvingLocaleDefinitionsFactory with default dependencies.
      Parameters:
      container - The Tiles-Plugin-Container.
      applicationContext - The Tiles application context.
      Returns:
      The definitions factory.
      Since:
      Struts 1.4.1