public static class SessionManager.SessionManagerListener extends Object implements javax.servlet.http.HttpSessionListener
This listeners is responsible to remove sessions from the registry when destroyed by the container. This is an important thing in order to keep sessions in sync and avoid the registry to grown indefinetely.
Constructor and Description |
---|
SessionManagerListener() |
Modifier and Type | Method and Description |
---|---|
void |
sessionCreated(javax.servlet.http.HttpSessionEvent se) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent se) |
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
sessionCreated
in interface javax.servlet.http.HttpSessionListener
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
sessionDestroyed
in interface javax.servlet.http.HttpSessionListener
Copyright © 2016. All rights reserved.