Servlet and JavaServer Pages API Documentation: Interface HttpSessionBindingListener

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.servlet.http
Interface HttpSessionBindingListener

public interface HttpSessionBindingListener
extends java.util.EventListener

Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an `HttpSessionBindingEvent` object.

Version:
  $Version$
Author:
  Various
See Also:
  `HttpSession`, `HttpSessionBindingEvent`

Method Summary
`void` | `valueBound(HttpSessionBindingEvent event)` Notifies the object that it is being bound to a session and identifies the session.
`void` | `valueUnbound(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:
    `valueUnbound(javax.servlet.http.HttpSessionBindingEvent)`

### 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:
    `valueBound(javax.servlet.http.HttpSessionBindingEvent)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 1999-2000 The Apache Software Foundation. All Rights Reserved.