javax.servlet.http

Interface HttpSessionListener

public interface HttpSessionListener extends EventListener

Implementations of this interface are notified of changes to the list of active sessions in a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.

Since: Servlet 2.3

Version: $Revision: 1.4 $ $Date: 2004/09/23 08:05:29 $

See Also:

Method Summary
voidsessionCreated(HttpSessionEvent se)
Notification that a session was created.
voidsessionDestroyed(HttpSessionEvent se)
Notification that a session is about to be invalidated.

Method Detail

sessionCreated

public void sessionCreated(HttpSessionEvent se)
Notification that a session was created.

Parameters: se the notification event

sessionDestroyed

public void sessionDestroyed(HttpSessionEvent se)
Notification that a session is about to be invalidated.

Parameters: se the notification event

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.