## Uses of Interface
org.apache.tiles.request.ApplicationContext

- Packages that use ApplicationContext
  Package | Description
  --- | ---
  org.apache.struts2.tiles |
  org.apache.tiles.api | The Tiles taglib and framework allows building web pages by assembling reusable pieces of pages, called Tiles.
  org.apache.tiles.api.access | Tiles access package.
  org.apache.tiles.core.definition.dao | Classes to simply load definitions depending on a customization key.
  org.apache.tiles.core.factory | Factory classes, to allow creation of container instances.
  org.apache.tiles.core.impl | It contains the basic implementations of Tiles container.
  org.apache.tiles.core.startup | Classes to start the Tiles engine up.
  org.apache.tiles.el | Attribute evaluator classes that can perform EL evaluation for attributes.
  org.apache.tiles.ognl | Attribute evaluator classes that can perform OGNL evaluation for attributes.
  org.apache.tiles.request |
  org.apache.tiles.request.freemarker | Support for Freemarker's Environment as a request.
  org.apache.tiles.request.jsp | Support of Tiles request in a JSP environment.
  org.apache.tiles.request.servlet | Tiles request support for Servlet technology.
  org.apache.tiles.request.velocity | Tiles request support for Velocity.
  org.apache.tiles.request.velocity.render | Renderering support for Velocity.

- - ### Uses of ApplicationContext in org.apache.struts2.tiles

    Classes in org.apache.struts2.tiles that implement ApplicationContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StrutsWildcardServletApplicationContext`

    Methods in org.apache.struts2.tiles that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `protected ApplicationContext` | StrutsTilesInitializer.`createTilesApplicationContext(ApplicationContext preliminaryContext)`

    Methods in org.apache.struts2.tiles with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `protected AttributeEvaluatorFactory` | StrutsTilesContainerFactory.`createAttributeEvaluatorFactory(ApplicationContext applicationContext, LocaleResolver resolver)`
    `protected AbstractTilesContainerFactory` | StrutsTilesInitializer.`createContainerFactory(ApplicationContext context)`
    `TilesContainer` | StrutsTilesContainerFactory.`createDecoratedContainer(TilesContainer originalContainer, ApplicationContext applicationContext)`
    `protected Renderer` | StrutsTilesContainerFactory.`createDefaultAttributeRenderer(BasicRendererFactory rendererFactory, ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)`
    `protected ELAttributeEvaluator` | StrutsTilesContainerFactory.`createELEvaluator(ApplicationContext applicationContext)`
    `protected LocaleResolver` | StrutsTilesContainerFactory.`createLocaleResolver(ApplicationContext applicationContext)`
    `protected PreparerFactory` | StrutsTilesContainerFactory.`createPreparerFactory(ApplicationContext applicationContext)`
    `protected ApplicationContext` | StrutsTilesInitializer.`createTilesApplicationContext(ApplicationContext preliminaryContext)`
    `protected List<ApplicationResource>` | StrutsTilesContainerFactory.`getSources(ApplicationContext applicationContext)`
    `protected void` | StrutsTilesContainerFactory.`registerAttributeRenderers(BasicRendererFactory rendererFactory, ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)`

  - ### Uses of ApplicationContext in org.apache.tiles.api

    Methods in org.apache.tiles.api that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationContext` | TilesContainer.`getApplicationContext()` Retrieve the container's context.
    `ApplicationContext` | TilesContainerWrapper.`getApplicationContext()`

  - ### Uses of ApplicationContext in org.apache.tiles.api.access

    Methods in org.apache.tiles.api.access with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static TilesContainer` | TilesAccess.`getContainer(ApplicationContext context)` Returns default the container to be used in the application.
    `static TilesContainer` | TilesAccess.`getContainer(ApplicationContext context, String key)` Returns the container to be used in the application registered under a specific key.
    `static void` | TilesAccess.`setContainer(ApplicationContext context, TilesContainer container, String key)` Configures the container to be used in the application.

  - ### Uses of ApplicationContext in org.apache.tiles.core.definition.dao

    Fields in org.apache.tiles.core.definition.dao declared as ApplicationContext
    Modifier and Type | Field and Description
    --- | ---
    `protected ApplicationContext` | BaseLocaleUrlDefinitionDAO.`applicationContext` ApplicationContext to locate the source files.

    Constructors in org.apache.tiles.core.definition.dao with parameters of type ApplicationContext
    Constructor and Description
    `BaseLocaleUrlDefinitionDAO(ApplicationContext applicationContext)` Constructor.
    `CachingLocaleUrlDefinitionDAO(ApplicationContext applicationContext)` Constructor.
    `ResolvingLocaleUrlDefinitionDAO(ApplicationContext applicationContext)`

  - ### Uses of ApplicationContext in org.apache.tiles.core.factory

    Methods in org.apache.tiles.core.factory with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `protected AttributeEvaluatorFactory` | BasicTilesContainerFactory.`createAttributeEvaluatorFactory(ApplicationContext applicationContext, LocaleResolver resolver)` Creates the attribute evaluator factory to use.
    `TilesContainer` | BasicTilesContainerFactory.`createContainer(ApplicationContext applicationContext)` Creates a Tiles container.
    `abstract TilesContainer` | AbstractTilesContainerFactory.`createContainer(ApplicationContext applicationContext)` Creates a Tiles container.
    `protected TilesContainer` | BasicTilesContainerFactory.`createDecoratedContainer(TilesContainer originalContainer, ApplicationContext context)` Instantiate the container that will be injected to child objects.
    `protected Renderer` | BasicTilesContainerFactory.`createDefaultAttributeRenderer(BasicRendererFactory rendererFactory, ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)` Creates the default attribute renderer.
    `protected Renderer` | BasicTilesContainerFactory.`createDefinitionAttributeRenderer(BasicRendererFactory rendererFactory, ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)` Creates a `Renderer` using a `DefinitionRenderer`.
    `protected DefinitionsFactory` | BasicTilesContainerFactory.`createDefinitionsFactory(ApplicationContext applicationContext, LocaleResolver resolver)` Creates the definitions factory.
    `protected DefinitionsReader` | BasicTilesContainerFactory.`createDefinitionsReader(ApplicationContext applicationContext)` Creates the definitions reader.
    `protected DefinitionDAO<Locale>` | BasicTilesContainerFactory.`createLocaleDefinitionDao(ApplicationContext applicationContext, LocaleResolver resolver)` Creates a Locale-based definition DAO.
    `protected LocaleResolver` | BasicTilesContainerFactory.`createLocaleResolver(ApplicationContext applicationContext)` Creates the locale resolver.
    `protected PreparerFactory` | BasicTilesContainerFactory.`createPreparerFactory(ApplicationContext applicationContext)` Creates the preparer factory to use.
    `protected RendererFactory` | BasicTilesContainerFactory.`createRendererFactory(ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)` Creates a renderer factory.
    `protected Renderer` | BasicTilesContainerFactory.`createStringAttributeRenderer(BasicRendererFactory rendererFactory, ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)` Creates an attribute renderer to render strings.
    `protected Renderer` | BasicTilesContainerFactory.`createTemplateAttributeRenderer(BasicRendererFactory rendererFactory, ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)` Creates a `Renderer` that uses a `DispatchRenderer`.
    `protected List<ApplicationResource>` | BasicTilesContainerFactory.`getSources(ApplicationContext applicationContext)` Returns a list containing the resources to be parsed.
    `protected BasicTilesContainer` | BasicTilesContainerFactory.`instantiateContainer(ApplicationContext context)` Instantiate the container, without initialization.
    `protected UnresolvingLocaleDefinitionsFactory` | BasicTilesContainerFactory.`instantiateDefinitionsFactory(ApplicationContext applicationContext, LocaleResolver resolver)` Instantiate a new definitions factory based on Locale.
    `protected BaseLocaleUrlDefinitionDAO` | BasicTilesContainerFactory.`instantiateLocaleDefinitionDao(ApplicationContext applicationContext, LocaleResolver resolver)` Instantiate (and does not initialize) a Locale-based definition DAO.
    `protected void` | BasicTilesContainerFactory.`registerAttributeRenderers(BasicRendererFactory rendererFactory, ApplicationContext applicationContext, TilesContainer container, AttributeEvaluatorFactory attributeEvaluatorFactory)` Registers attribute renderers in a `BasicRendererFactory`.

  - ### Uses of ApplicationContext in org.apache.tiles.core.impl

    Methods in org.apache.tiles.core.impl that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationContext` | BasicTilesContainer.`getApplicationContext()` Returns the Tiles application context used by this container.

    Methods in org.apache.tiles.core.impl with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicTilesContainer.`setApplicationContext(ApplicationContext context)` Sets the Tiles application context to use.

  - ### Uses of ApplicationContext in org.apache.tiles.core.startup

    Methods in org.apache.tiles.core.startup that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `protected ApplicationContext` | AbstractTilesInitializer.`createTilesApplicationContext(ApplicationContext preliminaryContext)` Creates the Tiles application context, to be used across all the Tiles-based application.

    Methods in org.apache.tiles.core.startup with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `protected TilesContainer` | AbstractTilesInitializer.`createContainer(ApplicationContext context)` Creates a Tiles container.
    `protected abstract AbstractTilesContainerFactory` | AbstractTilesInitializer.`createContainerFactory(ApplicationContext context)` Creates a Tiles container factory.
    `protected ApplicationContext` | AbstractTilesInitializer.`createTilesApplicationContext(ApplicationContext preliminaryContext)` Creates the Tiles application context, to be used across all the Tiles-based application.
    `protected String` | AbstractTilesInitializer.`getContainerKey(ApplicationContext applicationContext)` Returns the container key under which the container will be stored.
    `void` | TilesInitializer.`initialize(ApplicationContext preliminaryContext)` Initializes Tiles.
    `void` | AbstractTilesInitializer.`initialize(ApplicationContext applicationContext)` Initializes Tiles.

  - ### Uses of ApplicationContext in org.apache.tiles.el

    Methods in org.apache.tiles.el with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | JspExpressionFactoryFactory.`setApplicationContext(ApplicationContext applicationContext)` Sets the Tiles application context.

  - ### Uses of ApplicationContext in org.apache.tiles.ognl

    Methods in org.apache.tiles.ognl that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationContext` | TilesApplicationContextNestedObjectExtractor.`getNestedObject(Request obj)` Extracts the nested object.

  - ### Uses of ApplicationContext in org.apache.tiles.request

    Methods in org.apache.tiles.request that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationContext` | Request.`getApplicationContext()` Returns the associated application context.
    `ApplicationContext` | AbstractClientRequest.`getApplicationContext()`
    `ApplicationContext` | DispatchRequestWrapper.`getApplicationContext()` Returns the associated application context.

    Methods in org.apache.tiles.request with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ApplicationAccess.`register(ApplicationContext applicationContext)` Registers an application context.
    `void` | ApplicationContextAware.`setApplicationContext(ApplicationContext applicationContext)` Sets the Tiles application context.

    Constructors in org.apache.tiles.request with parameters of type ApplicationContext
    Constructor and Description
    `AbstractClientRequest(ApplicationContext applicationContext)` Constructor.

  - ### Uses of ApplicationContext in org.apache.tiles.request.freemarker

    Methods in org.apache.tiles.request.freemarker that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static ApplicationContext` | FreemarkerRequestUtil.`getApplicationContext(freemarker.core.Environment env)` Returns the application context.

    Methods in org.apache.tiles.request.freemarker with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static FreemarkerRequest` | FreemarkerRequest.`createServletFreemarkerRequest(ApplicationContext applicationContext, freemarker.core.Environment env)` Creates a new Freemarker request.

  - ### Uses of ApplicationContext in org.apache.tiles.request.jsp

    Methods in org.apache.tiles.request.jsp that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static ApplicationContext` | JspUtil.`getApplicationContext(javax.servlet.jsp.JspContext jspContext)` Returns the application context.

    Methods in org.apache.tiles.request.jsp with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static JspRequest` | JspRequest.`createServletJspRequest(ApplicationContext applicationContext, javax.servlet.jsp.PageContext pageContext)` Creates a JSP request.

  - ### Uses of ApplicationContext in org.apache.tiles.request.servlet

    Classes in org.apache.tiles.request.servlet that implement ApplicationContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ServletApplicationContext` Servlet-based implementation of the TilesApplicationContext interface.

    Methods in org.apache.tiles.request.servlet that return ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static ApplicationContext` | ServletUtil.`getApplicationContext(javax.servlet.ServletContext servletContext)` Returns the application context getting it from the servlet context.

    Methods in org.apache.tiles.request.servlet with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static javax.servlet.ServletContext` | ServletUtil.`getServletContext(ApplicationContext applicationContext)` Gets a servlet context from a TilesApplicationContext.

    Constructors in org.apache.tiles.request.servlet with parameters of type ApplicationContext
    Constructor and Description
    `ServletRequest(ApplicationContext applicationContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Creates a new instance of ServletTilesRequestContext.

  - ### Uses of ApplicationContext in org.apache.tiles.request.velocity

    Methods in org.apache.tiles.request.velocity with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `static VelocityRequest` | VelocityRequest.`createVelocityRequest(ApplicationContext applicationContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Writer writer)` Factory method to create a Velocity request.

  - ### Uses of ApplicationContext in org.apache.tiles.request.velocity.render

    Methods in org.apache.tiles.request.velocity.render with parameters of type ApplicationContext
    Modifier and Type | Method and Description
    --- | ---
    `VelocityRendererBuilder` | VelocityRendererBuilder.`setApplicationContext(ApplicationContext applicationContext)` Sets the application context.

    Constructors in org.apache.tiles.request.velocity.render with parameters of type ApplicationContext
    Constructor and Description
    `ApplicationContextJeeConfig(ApplicationContext applicationContext, Map<String,String> params)` Constructor.

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.