org.apache.struts2.tiles
Class StrutsTilesListener

java.lang.Object
  extended by org.apache.tiles.web.startup.TilesListener
      extended by org.apache.struts2.tiles.StrutsTilesListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class StrutsTilesListener
extends org.apache.tiles.web.startup.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: 651946 $

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.web.startup.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.web.startup.TilesListener
Throws:
org.apache.tiles.TilesException

decorate

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


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