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.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
Copyright © 2015. All rights reserved.