Package org.apache.struts2.tiles

# Class StrutsTilesListener

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

All Implemented Interfaces:
  `jakarta.servlet.ServletContextListener`, `EventListener`

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
  Description
  `StrutsTilesListener()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### StrutsTilesListener

    public StrutsTilesListener()

- ## Method Details

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