Package 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

  Modifier and Type
  Method
  Description
  `void`
  `destroy()`
  Destroys the Tiles container.
  `void`
  `initialize(ApplicationContext preliminaryContext)`
  Initializes Tiles.

- ## Method Details

  - ### 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