UserSession.java 文件源码

java
阅读 38 收藏 0 点赞 0 评论 0

项目:jaffa-framework 作者:
/** This is invoked, whenever an instance of this class is removed from the HttpSession object.
 * This can happen by an explicit session.removeAttribute(), or if the HttpSession is invalidated or if the HttpSession times out.
 * It will kill all related components.
 * It will de-register from the Session Manager.
 * It will null out all internal references.
 * @param httpSessionBindingEvent the event that identifies the session.
 */
public void valueUnbound(HttpSessionBindingEvent httpSessionBindingEvent) {
    if (log.isDebugEnabled())
        log.debug("The valueUnbound method has been invoked. This will kill the UserSession.");

    // kill this usersession
    killUserSession();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号