org.sakaiproject.api.kernel.session
Interface SessionBindingListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AnnouncementActionState, BaseAliasService.BaseAliasEdit, BaseAssignmentService.BaseAssignmentContentEdit, BaseAssignmentService.BaseAssignmentEdit, BaseAssignmentService.BaseAssignmentSubmissionEdit, BaseCalendarService.BaseCalendarEdit, BaseCalendarService.BaseCalendarEventEdit, BaseContentService.BaseCollectionEdit, BaseContentService.BaseResourceEdit, BaseDigestService.BaseDigest, BaseMessageService.BaseMessageChannelEdit, BaseMessageService.BaseMessageEdit, BaseNotificationService.BaseNotificationEdit, BasePreferencesService.BasePreferences, BasePresenceService.Presence, BaseUserDirectoryService.BaseUserEdit, CalendarActionState, EventObservingCourier, UsageSessionServiceAdaptor.BaseUsageSession

public interface SessionBindingListener
extends EventListener

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

(Based on HttpSessionBindingListener from the Servlet API).

Version:
$Revision: 632 $
Author:
University of Michigan, Sakai Software Development Team

Method Summary
 void valueBound(SessionBindingEvent event)
          Notifies the object that it is being bound to a session.
 void valueUnbound(SessionBindingEvent event)
          Notifies the object that it is being unbound from a session.
 

Method Detail

valueBound

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

Parameters:
event - the event that identifies the session

valueUnbound

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

Parameters:
event - the event that identifies the session