|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.web.context.request.DestructionCallbackBindingListener
public class DestructionCallbackBindingListener
Adapter that implements the Servlet 2.3 HttpSessionBindingListener interface, wrapping a session destruction callback.
RequestAttributes.registerDestructionCallback(java.lang.String, java.lang.Runnable, int)
,
ServletRequestAttributes.registerSessionDestructionCallback(java.lang.String, java.lang.Runnable)
,
Serialized FormConstructor Summary | |
---|---|
DestructionCallbackBindingListener(java.lang.Runnable destructionCallback)
Create a new DestructionCallbackBindingListener for the given callback. |
Method Summary | |
---|---|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
|
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DestructionCallbackBindingListener(java.lang.Runnable destructionCallback)
destructionCallback
- the Runnable to execute when this listener
object gets unbound from the sessionMethod Detail |
---|
public 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
|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |