net.dpml.test.http
Class TestListener

java.lang.Object
  extended bynet.dpml.test.http.TestListener
All Implemented Interfaces:
EventListener, HttpSessionActivationListener, HttpSessionAttributeListener, HttpSessionListener, ServletContextAttributeListener, ServletContextListener, ServletRequestAttributeListener, ServletRequestListener

public class TestListener
extends Object
implements HttpSessionListener, HttpSessionAttributeListener, HttpSessionActivationListener, ServletContextListener, ServletContextAttributeListener, ServletRequestListener, ServletRequestAttributeListener

Test listeners.


Constructor Summary
TestListener()
           
 
Method Summary
 void attributeAdded(HttpSessionBindingEvent se)
          Attribute added.
 void attributeAdded(ServletContextAttributeEvent scab)
          Attribute added notification
 void attributeAdded(ServletRequestAttributeEvent srae)
          Attribute added notification
 void attributeRemoved(HttpSessionBindingEvent se)
          Attribute removed.
 void attributeRemoved(ServletContextAttributeEvent scab)
          Attribute removed notification
 void attributeRemoved(ServletRequestAttributeEvent srae)
          Attribute removed notification
 void attributeReplaced(HttpSessionBindingEvent se)
          Attribute replaced.
 void attributeReplaced(ServletContextAttributeEvent scab)
          Attribute replaced notification
 void attributeReplaced(ServletRequestAttributeEvent srae)
          Attribute replaced notification
 void contextDestroyed(ServletContextEvent sce)
          Context destroy notification
 void contextInitialized(ServletContextEvent sce)
          Context initiated notification
 void requestDestroyed(ServletRequestEvent sre)
          Request destroyed notification
 void requestInitialized(ServletRequestEvent sre)
          Request initialized notification
 void sessionCreated(HttpSessionEvent se)
          Session created notification
 void sessionDestroyed(HttpSessionEvent se)
          Session destroyed notification
 void sessionDidActivate(HttpSessionEvent se)
          Session did activate notification
 void sessionWillPassivate(HttpSessionEvent se)
          Session passivate notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestListener

public TestListener()
Method Detail

attributeAdded

public void attributeAdded(HttpSessionBindingEvent se)
Attribute added.

Specified by:
attributeAdded in interface HttpSessionAttributeListener
Parameters:
se - binding event

attributeRemoved

public void attributeRemoved(HttpSessionBindingEvent se)
Attribute removed.

Specified by:
attributeRemoved in interface HttpSessionAttributeListener
Parameters:
se - binding event

attributeReplaced

public void attributeReplaced(HttpSessionBindingEvent se)
Attribute replaced.

Specified by:
attributeReplaced in interface HttpSessionAttributeListener
Parameters:
se - binding event

sessionWillPassivate

public void sessionWillPassivate(HttpSessionEvent se)
Session passivate notification

Specified by:
sessionWillPassivate in interface HttpSessionActivationListener
Parameters:
se - session event

sessionDidActivate

public void sessionDidActivate(HttpSessionEvent se)
Session did activate notification

Specified by:
sessionDidActivate in interface HttpSessionActivationListener
Parameters:
se - session event

contextInitialized

public void contextInitialized(ServletContextEvent sce)
Context initiated notification

Specified by:
contextInitialized in interface ServletContextListener
Parameters:
sce - servlet context event

contextDestroyed

public void contextDestroyed(ServletContextEvent sce)
Context destroy notification

Specified by:
contextDestroyed in interface ServletContextListener
Parameters:
sce - servlet context event

attributeAdded

public void attributeAdded(ServletContextAttributeEvent scab)
Attribute added notification

Specified by:
attributeAdded in interface ServletContextAttributeListener
Parameters:
scab - servlet context attribute event

attributeRemoved

public void attributeRemoved(ServletContextAttributeEvent scab)
Attribute removed notification

Specified by:
attributeRemoved in interface ServletContextAttributeListener
Parameters:
scab - servlet context attribute event

attributeReplaced

public void attributeReplaced(ServletContextAttributeEvent scab)
Attribute replaced notification

Specified by:
attributeReplaced in interface ServletContextAttributeListener
Parameters:
scab - servlet context attribute event

requestDestroyed

public void requestDestroyed(ServletRequestEvent sre)
Request destroyed notification

Specified by:
requestDestroyed in interface ServletRequestListener
Parameters:
sre - servlet request event

requestInitialized

public void requestInitialized(ServletRequestEvent sre)
Request initialized notification

Specified by:
requestInitialized in interface ServletRequestListener
Parameters:
sre - servlet request event

attributeAdded

public void attributeAdded(ServletRequestAttributeEvent srae)
Attribute added notification

Specified by:
attributeAdded in interface ServletRequestAttributeListener
Parameters:
srae - servlet request attribute event

attributeRemoved

public void attributeRemoved(ServletRequestAttributeEvent srae)
Attribute removed notification

Specified by:
attributeRemoved in interface ServletRequestAttributeListener
Parameters:
srae - servlet request attribute event

attributeReplaced

public void attributeReplaced(ServletRequestAttributeEvent srae)
Attribute replaced notification

Specified by:
attributeReplaced in interface ServletRequestAttributeListener
Parameters:
srae - servlet request attribute event

sessionCreated

public void sessionCreated(HttpSessionEvent se)
Session created notification

Specified by:
sessionCreated in interface HttpSessionListener
Parameters:
se - session event

sessionDestroyed

public void sessionDestroyed(HttpSessionEvent se)
Session destroyed notification

Specified by:
sessionDestroyed in interface HttpSessionListener
Parameters:
se - session event