Class SessionEventListener

  extended by com.bea.p13n.tracking.listeners.SessionEventListener
All Implemented Interfaces
EventListener, javax.servlet.http.HttpSessionListener

public class SessionEventListener
extends Object
implements javax.servlet.http.HttpSessionListener

Class is implemented as a HttpSessionListener, to fire SessionEvents upon Session begin and end. It is configured in web.xml as follows: com.bea.p13n.tracking.listeners.SessionEventListener

Constructor Summary
Method Summary
 void sessionCreated(javax.servlet.http.HttpSessionEvent beginEvent)
          Fire an event to indicate that sesion has begun.
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent endEvent)
          Fire an event to indicate that sesion has ended.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SessionEventListener()
Method Detail


public void sessionCreated(javax.servlet.http.HttpSessionEvent beginEvent)
Fire an event to indicate that sesion has begun.

Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener


public void sessionDestroyed(javax.servlet.http.HttpSessionEvent endEvent)
Fire an event to indicate that sesion has ended.

Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener

Copyright © 2011, Oracle. All rights reserved.