org.apache.jetspeed.services.statemanager
Interface SessionStateBindingListener


public interface SessionStateBindingListener

SessionStateBindingListener is an interface for objects that wish to be notified when they are bound to and unbound from a SessionState managed by the Jetspeed SessionManagerService.

This is loosely modeled on the HttpSessionBindingListener.

Version:
$Revision: 1.2 $
Author:
Glenn R. Golden
See Also:
StateManagerService

Method Summary
 void valueBound(java.lang.String sessionStateKey, java.lang.String attributeName)
          Accept notification that this object has been bound as a SessionState attribute.
 void valueUnbound(java.lang.String sessionStateKey, java.lang.String attributeName)
          Accept notification that this object has been removed from a SessionState attribute.
 

Method Detail

valueBound

public void valueBound(java.lang.String sessionStateKey,
                       java.lang.String attributeName)
Accept notification that this object has been bound as a SessionState attribute.

Parameters:
sessionStateKey - The id of the session state which holds the attribute.
attributeName - The id of the attribute to which this object is now the value.

valueUnbound

public void valueUnbound(java.lang.String sessionStateKey,
                         java.lang.String attributeName)
Accept notification that this object has been removed from a SessionState attribute.

Parameters:
sessionStateKey - The id of the session state which held the attribute.
attributeName - The id of the attribute to which this object was the value.


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.