public class FailOverSessionActivationListener extends Object implements javax.servlet.http.HttpSessionActivationListener, Serializable
HttpSessionActivationListener which informs the FailOverService
about session activation and passivation.
It must NOT be manually registered because the FailOverService
store it as session attribute and therefore it will be executed automatically.| Modifier and Type | Field and Description |
|---|---|
static String |
SESSION_ATTRIBUTE_NAME |
| Constructor and Description |
|---|
FailOverSessionActivationListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
sessionDidActivate(javax.servlet.http.HttpSessionEvent event) |
void |
sessionWillPassivate(javax.servlet.http.HttpSessionEvent event) |
public static final String SESSION_ATTRIBUTE_NAME
public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListenerpublic void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListenerCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.