javax.servlet.http

Interface HttpSessionBindingListener

public interface HttpSessionBindingListener extends EventListener

Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an {@link HttpSessionBindingEvent} object. This may be as a result of a servlet programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.

Version: $Revision: 1.3 $ $Date: 2004/09/23 08:05:30 $

See Also: HttpSession

Method Summary
voidvalueBound(HttpSessionBindingEvent event)
Notifies the object that it is being bound to a session and identifies the session.
voidvalueUnbound(HttpSessionBindingEvent event)
Notifies the object that it is being unbound from a session and identifies the session.

Method Detail

valueBound

public void valueBound(HttpSessionBindingEvent event)
Notifies the object that it is being bound to a session and identifies the session.

Parameters: event the event that identifies the session

See Also: HttpSessionBindingListener

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Notifies the object that it is being unbound from a session and identifies the session.

Parameters: event the event that identifies the session

See Also: HttpSessionBindingListener

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