org.apache.struts2.dispatcher.ng.listener
Class StrutsListener

java.lang.Object
  extended by org.apache.struts2.dispatcher.ng.listener.StrutsListener
All Implemented Interfaces:
EventListener, ServletContextListener

public class StrutsListener
extends Object
implements ServletContextListener

Servlet listener for Struts. The preferred way to use Struts is as a filter via the StrutsPrepareAndExecuteFilter and its variants. This servlet dispatcher is only for those that really know what they are doing as it may not support every feature of Struts, particularly static resource serving.


Field Summary
private  PrepareOperations prepare
           
 
Constructor Summary
StrutsListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent sce)
           
 void contextInitialized(ServletContextEvent sce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prepare

private PrepareOperations prepare
Constructor Detail

StrutsListener

public StrutsListener()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent sce)
Specified by:
contextInitialized in interface ServletContextListener

contextDestroyed

public void contextDestroyed(ServletContextEvent sce)
Specified by:
contextDestroyed in interface ServletContextListener


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