接口 WebSessionListener
- 所有超级接口:
EventListener
Interface for receiving notification events about WebSession lifecycle changes.
In order to receive these notification events, the implementation class must be either declared in the deployment descriptor of the web application
Implementations of this interface are invoked at their sessionCreated(cn.taketoday.session.WebSessionEvent)
method in the order in which they have been declared, and at their sessionDestroyed(cn.taketoday.session.WebSessionEvent)
method in reverse order.
- 从以下版本开始:
- 4.0 2022/4/9 09:56
- 作者:
- Harry Yang
- 另请参阅:
-
方法概要
修饰符和类型方法说明default voidReceives notification that a session has been created.default voidReceives notification that a session is about to be invalidated.
-
方法详细资料
-
sessionCreated
Receives notification that a session has been created.The default implementation takes no action.
- 参数:
se- the WebSessionEvent containing the session
-
sessionDestroyed
Receives notification that a session is about to be invalidated.The default implementation takes no action.
- 参数:
se- the WebSessionEvent containing the session
-