javax.servlet.http
Interface HttpSessionBindingListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DestructionListener

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.


Method Summary
 void valueBound(HttpSessionBindingEvent event)
          Called when the object is added to a session.
 void valueUnbound(HttpSessionBindingEvent event)
          Called when the object is removed from a session or the session is invalidated.
 

Method Detail

valueBound

void valueBound(HttpSessionBindingEvent event)
Called when the object is added to a session.

Parameters:
event - session event object

valueUnbound

void valueUnbound(HttpSessionBindingEvent event)
Called when the object is removed from a session or the session is invalidated.

Parameters:
event - session event object