类 DestructionCallbackBindingListener
- java.lang.Object
- org.springframework.web.context.request.DestructionCallbackBindingListener
- 所有已实现的接口:
Serializable
,EventListener
,HttpSessionBindingListener
public class DestructionCallbackBindingListener extends Object implements HttpSessionBindingListener, Serializable
Adapter that implements the Servlet HttpSessionBindingListener interface, wrapping a session destruction callback.
构造器概要
构造器 构造器 说明 DestructionCallbackBindingListener(Runnable destructionCallback)
Create a new DestructionCallbackBindingListener for the given callback.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
valueBound(HttpSessionBindingEvent event)
void
valueUnbound(HttpSessionBindingEvent event)
构造器详细资料
DestructionCallbackBindingListener
public DestructionCallbackBindingListener(Runnable destructionCallback)
Create a new DestructionCallbackBindingListener for the given callback.- 参数:
destructionCallback
- the Runnable to execute when this listener object gets unbound from the session
方法详细资料
valueBound
public void valueBound(HttpSessionBindingEvent event)
- 指定者:
valueBound
在接口中HttpSessionBindingListener
valueUnbound
public void valueUnbound(HttpSessionBindingEvent event)
- 指定者:
valueUnbound
在接口中HttpSessionBindingListener