Name

HttpSessionActivationListener

Synopsis

This is a listener interface that is invoked when a session object is activated or passivated. Passivation occurs when a session is persisted to disk or transferred between virtual machines in distributed container environment (in both instances, the session object will be serialized). Sessions should release any non-serializable resources before passivation and reacquire them after activation.

                  Returned By
public interface HttpSessionActivationListener extends java.util.EventListener {
// Public Instance Methods
   public abstract void sessionDidActivate(
        HttpSessionEvent se);  
   public abstract void sessionWillPassivate(
        HttpSessionEvent se);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.