public class DestructionCallbackBindingListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener, java.io.Serializable
Constructor and Description |
---|
DestructionCallbackBindingListener(java.lang.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(java.lang.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 © 2021. All rights reserved.