org.apache.webbeans.web.failover
Class FailOverSessionActivationListener

java.lang.Object
  extended by org.apache.webbeans.web.failover.FailOverSessionActivationListener
All Implemented Interfaces:
Serializable, EventListener, javax.servlet.http.HttpSessionActivationListener

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.

See Also:
Serialized Form

Field Summary
static String SESSION_ATTRIBUTE_NAME
           
 
Constructor Summary
FailOverSessionActivationListener()
           
 
Method Summary
 void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
           
 void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_ATTRIBUTE_NAME

public static final String SESSION_ATTRIBUTE_NAME
See Also:
Constant Field Values
Constructor Detail

FailOverSessionActivationListener

public FailOverSessionActivationListener()
Method Detail

sessionWillPassivate

public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListener

sessionDidActivate

public void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListener


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.