Package jakarta.servlet.http
Interface HttpSessionActivationListener
- All Superinterfaces:
- EventListener
Objects that are bound to a session may listen to container events notifying them that sessions will be passivated
 and that session will be activated. A container that migrates session between VMs or persists sessions is required to
 notify all attributes bound to sessions implementing HttpSessionActivationListener.
- Since:
- Servlet 2.3
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidNotification that the session has just been activated.default voidNotification that the session is about to be passivated.
- 
Method Details- 
sessionWillPassivateNotification that the session is about to be passivated. The default implementation is a NO-OP.- Parameters:
- se- Information about the session this is about to be passivated
 
- 
sessionDidActivateNotification that the session has just been activated. The default implementation is a NO-OP.- Parameters:
- se- Information about the session this has just been activated
 
 
-