Interface javax.servlet.http.HttpSessionBindingListener
All Packages Class Hierarchy This Package Previous Next Index
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.
- Version:
- 1.6, 10/15/97
- See Also:
- HttpSession, HttpSessionBindingEvent
-
valueBound(HttpSessionBindingEvent)
- Notifies the listener that it is being bound into
a session.
-
valueUnbound(HttpSessionBindingEvent)
- Notifies the listener that it is being unbound
from a session.
valueBound
public abstract 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 abstract 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.
All Packages Class Hierarchy This Package Previous Next Index