org.apache.tiles.core.startup

## Interface TilesInitializer

- All Known Implementing Classes:
    AbstractTilesInitializer, StrutsTilesInitializer

      public interface TilesInitializer

  Tiles initialization delegate. It initializes Tiles container(s) and the application context to use across all the application.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()` Destroys the Tiles container.
    `void` | `initialize(ApplicationContext preliminaryContext)` Initializes Tiles.

- - ### Method Detail

    - #### initialize

          void initialize(ApplicationContext preliminaryContext)

      Initializes Tiles.
      Parameters:
        `preliminaryContext` - The preliminary application context to use. It will be overwritten with the real instance later. Use a context usable under your current environment, like ServletTilesApplicationContext or PortletTilesApplicationContext.

    - #### destroy

          void destroy()

      Destroys the Tiles container.
      Since:
        2.2.0

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