Package com.jk.web.mvc
Class MvcSessionListener
java.lang.Object
com.jk.web.mvc.MvcSessionListener
- All Implemented Interfaces:
 jakarta.servlet.http.HttpSessionListener,EventListener
@WebListener
public class MvcSessionListener
extends Object
implements jakarta.servlet.http.HttpSessionListener
This class is a Servlet Session Listener that manages MVC-related session
 events.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidsessionCreated(jakarta.servlet.http.HttpSessionEvent arg) Receives notification that a session has been created.voidsessionDestroyed(jakarta.servlet.http.HttpSessionEvent arg) Receives notification that a session is about to be invalidated. 
- 
Constructor Details
- 
MvcSessionListener
public MvcSessionListener() 
 - 
 - 
Method Details
- 
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent arg) Receives notification that a session has been created.- Specified by:
 sessionCreatedin interfacejakarta.servlet.http.HttpSessionListener- Parameters:
 arg- the HttpSessionEvent containing the session
 - 
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent arg) Receives notification that a session is about to be invalidated.- Specified by:
 sessionDestroyedin interfacejakarta.servlet.http.HttpSessionListener- Parameters:
 arg- the HttpSessionEvent containing the session
 
 -