javax.servlet.http
Interface HttpSessionBindingListener
- All Superinterfaces:
- java.util.EventListener
- public interface HttpSessionBindingListener
- extends java.util.EventListener
This listener lets session values know when they've been added to
or removed from a session. This particularly useful when a session
value needs to free resources at the session end.
valueBound
public void valueBound(HttpSessionBindingEvent event)
- Called when the object is added to a session.
- Parameters:
event
- session event object
valueUnbound
public void valueUnbound(HttpSessionBindingEvent event)
- Called when the object is removed from a session or the session
is invalidated.
- Parameters:
event
- session event object