org.directwebremoting.event
Interface ScriptSessionBindingListener

All Superinterfaces:
java.util.EventListener

public interface ScriptSessionBindingListener
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 ScriptSessionBindingEvent object. This may be as a result of a servlet programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.

See Also:
ScriptSession, ScriptSessionBindingEvent

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

Method Detail

valueBound

void valueBound(ScriptSessionBindingEvent 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(ScriptSessionBindingEvent)

valueUnbound

void valueUnbound(ScriptSessionBindingEvent 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(ScriptSessionBindingEvent)

Copyright 2008