Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface javax.servlet.http.HttpSessionBindingListener


public interface HttpSessionBindingListener
extends EventListener
Objects implement this interface so that they can be notified when they are being bound or unbound from a HttpSession. When a binding occurs (using HttpSession.putValue) HttpSessionBindingEvent communicates the event and identifies the session into which the object is bound.

Similarly, when an unbinding occurs (using HttpSession.removeValue) HttpSessionBindingEvent communicates the event and identifies the session from which the object is unbound.

See Also:
HttpSession, HttpSessionBindingEvent

Method Summary
void  valueBound(HttpSessionBindingEvent event)
Notifies the listener that it is being bound into a session.
void  valueUnbound(HttpSessionBindingEvent event)
Notifies the listener that it is being unbound from a session.
 

Method Detail

valueBound

public void valueBound(HttpSessionBindingEvent event)
Notifies the listener that it is being bound into a session.
Parameters:
event - the event identifying the session into which the listener is being bound.

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Notifies the listener that it is being unbound from a session.
Parameters:
event - the event identifying the session from which the listener is being unbound.

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.