public abstract class AbstractHttpSessionListener extends Object implements javax.servlet.http.HttpSessionListener
| Constructor and Description |
|---|
AbstractHttpSessionListener() |
| Modifier and Type | Method and Description |
|---|---|
protected ExoContainer |
getContainer(javax.servlet.http.HttpSessionEvent event) |
protected abstract void |
onSessionCreated(ExoContainer container,
javax.servlet.http.HttpSessionEvent event)
Allow sub-classes to execute an action when a session is created
|
protected abstract void |
onSessionDestroyed(ExoContainer container,
javax.servlet.http.HttpSessionEvent event)
Allow sub-classes to execute an action when a session is destroyed
|
protected abstract boolean |
requirePortalEnvironment()
Indicates if it requires that a full portal environment must be set
|
void |
sessionCreated(javax.servlet.http.HttpSessionEvent event) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent event) |
public final void sessionCreated(javax.servlet.http.HttpSessionEvent event)
sessionCreated in interface javax.servlet.http.HttpSessionListenerHttpSessionListener.sessionCreated(javax.servlet.http.HttpSessionEvent)public final void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
sessionDestroyed in interface javax.servlet.http.HttpSessionListenerHttpSessionListener.sessionDestroyed(javax.servlet.http.HttpSessionEvent)protected abstract boolean requirePortalEnvironment()
true if it requires the portal environment false otherwise.protected abstract void onSessionCreated(ExoContainer container, javax.servlet.http.HttpSessionEvent event)
container - the eXo containerevent - the HttpSessionEventprotected abstract void onSessionDestroyed(ExoContainer container, javax.servlet.http.HttpSessionEvent event)
container - the eXo containerevent - the HttpSessionEventprotected final ExoContainer getContainer(javax.servlet.http.HttpSessionEvent event)
ExoContainer that fits best with the current contextCopyright © 2016 eXo Platform SAS. All Rights Reserved.