public class DestructionCallbackBindingListener extends Object implements HttpSessionBindingListener, Serializable
| Constructor and Description |
|---|
DestructionCallbackBindingListener(Runnable destructionCallback)
Create a new DestructionCallbackBindingListener for the given callback.
|
| Modifier and Type | Method and Description |
|---|---|
void |
valueBound(HttpSessionBindingEvent event) |
void |
valueUnbound(HttpSessionBindingEvent event) |
public DestructionCallbackBindingListener(Runnable destructionCallback)
destructionCallback - the Runnable to execute when this listener
object gets unbound from the sessionpublic void valueBound(HttpSessionBindingEvent event)
valueBound in interface HttpSessionBindingListenerpublic void valueUnbound(HttpSessionBindingEvent event)
valueUnbound in interface HttpSessionBindingListener