Causes an object to be notified when its state changes within the
session context. Currently, this is when the object is removed from the session context
or when the session context is destroyed. The object is notified by
a SessionContextStateChangedEvent object.
Notifies the object that its state has changed within the
session context. Currently, this is when the object is removed from
the session context or when the session context is destroyed.
If an object added to the session context with
SessionContextInterface.setAttribute(Object)
implements this interface, the session context will invoke
this method when the object is removed from the session context
or when the session context is destroyed.
Parameters:
event - The event that identifies the bound object, the
name of the bound object, the session context,
and an identifier that indicates the type of state
change that occurred.