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.HttpSessionActivationListener
public void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
sessionDidActivate
in interface javax.servlet.http.HttpSessionActivationListener
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.