org.apache.struts2.tiles

## Class StrutsTilesListener

- java.lang.Object
- - org.apache.tiles.web.startup.AbstractTilesListener
  - - org.apache.struts2.tiles.StrutsTilesListener

- All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

      public class StrutsTilesListener
      extends AbstractTilesListener

  Listener used to automatically tie Tiles support into Struts
  Since:
    Struts 2.0.2

- - ### Field Summary

    - ### Fields inherited from class org.apache.tiles.web.startup.AbstractTilesListener

      `initializer`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StrutsTilesListener()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected TilesInitializer` | `createTilesInitializer()` Creates a new instance of `TilesInitializer`.

    - ### Methods inherited from class org.apache.tiles.web.startup.AbstractTilesListener

      `contextDestroyed, contextInitialized`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StrutsTilesListener

          public StrutsTilesListener()

  - ### Method Detail

    - #### createTilesInitializer

          protected TilesInitializer createTilesInitializer()

      Description copied from class: `AbstractTilesListener`
      Creates a new instance of `TilesInitializer`. Implement it to use a different initializer.
      Specified by:
        `createTilesInitializer` in class `AbstractTilesListener`
      Returns:
        The Tiles servlet-based initializer.

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