Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.tiles
Class StrutsTilesListener

    java.lang.Object
      org.apache.tiles.listener.TilesListener
          org.apache.struts2.tiles.StrutsTilesListener

All Implemented Interfaces:
  java.util.EventListener, javax.servlet.ServletContextListener

    public class StrutsTilesListener

extends org.apache.tiles.listener.TilesListener

Listener used to automatically inject ServletContext init parameters so that they don't need to be configured explicitly for tiles integration. This is provided mainly for backwards compatibility with Struts 2.0.1 configuration.

Since:
  Struts 2.0.2
Version:
  $Rev: 478625 $

Constructor Summary
`StrutsTilesListener()`

Method Summary
`protected org.apache.tiles.TilesContainer` | `createContainer(javax.servlet.ServletContext context)`
`protected javax.servlet.ServletContext` | `decorate(javax.servlet.ServletContext context)`

Methods inherited from class org.apache.tiles.listener.TilesListener
`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

### createContainer

    protected org.apache.tiles.TilesContainer createContainer(javax.servlet.ServletContext context)
                                                       throws org.apache.tiles.TilesException

  Overrides:
    `createContainer` in class `org.apache.tiles.listener.TilesListener`
  Throws:
    `org.apache.tiles.TilesException`

### decorate

    protected javax.servlet.ServletContext decorate(javax.servlet.ServletContext context)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.