org.ops4j.pax.web.samples.helloworld.wc.internal
Class HelloWorldListener

java.lang.Object
  extended by org.ops4j.pax.web.samples.helloworld.wc.internal.HelloWorldListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletRequestListener

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

Hello World Request Listener. Counts each request and stores the value in context attributes.

Since:
0.3.0, January 02, 2008
Author:
Alin Dreghiciu

Constructor Summary
HelloWorldListener()
           
 
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

HelloWorldListener

public HelloWorldListener()
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 © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.