it.openutils.spring.context
Class WebApplicationContextListener

java.lang.Object
  extended by it.openutils.spring.context.WebApplicationContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletRequestListener

public class WebApplicationContextListener
extends java.lang.Object
implements javax.servlet.ServletRequestListener

Listener for Servlet 2.4+ containers. Exposes the web application context to the current thread, through WebApplicationContextHolder. To be registered as listener in web.xml.

Version:
$Id: WebApplicationContextListener.java 275 2007-02-19 17:13:52Z fgiust $
Author:
Fabrizio Giustina

Constructor Summary
WebApplicationContextListener()
           
 
Method Summary
 void requestDestroyed(javax.servlet.ServletRequestEvent sre)
          
 void requestInitialized(javax.servlet.ServletRequestEvent sre)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplicationContextListener

public WebApplicationContextListener()
Method Detail

requestInitialized

public void requestInitialized(javax.servlet.ServletRequestEvent sre)

Specified by:
requestInitialized in interface javax.servlet.ServletRequestListener

requestDestroyed

public void requestDestroyed(javax.servlet.ServletRequestEvent sre)

Specified by:
requestDestroyed in interface javax.servlet.ServletRequestListener


Copyright © 2007 Openmind. All Rights Reserved.