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