Package com.sun.faces.cdi.clientwindow
Class ClientWindowScopeManager
java.lang.Object
com.sun.faces.cdi.clientwindow.ClientWindowScopeManager
- All Implemented Interfaces:
jakarta.servlet.http.HttpSessionListener
,EventListener
public class ClientWindowScopeManager
extends Object
implements jakarta.servlet.http.HttpSessionListener
The manager that deals with non-CDI and CDI ClientWindowScoped beans.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Stores the constant to keep track of the ClientWindowScopeManager. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientWindowScopeManager
getInstance
(FacesContext facesContext) Get our instance.void
sessionCreated
(jakarta.servlet.http.HttpSessionEvent se) Create the associated data in the session (if any).void
sessionDestroyed
(jakarta.servlet.http.HttpSessionEvent httpSessionEvent) Destroy the associated data in the session.
-
Field Details
-
CLIENT_WINDOW_SCOPE_MANAGER
Stores the constant to keep track of the ClientWindowScopeManager.- See Also:
-
-
Constructor Details
-
ClientWindowScopeManager
public ClientWindowScopeManager()Constructor.
-
-
Method Details
-
getInstance
Get our instance.- Parameters:
facesContext
- the FacesContext.- Returns:
- our instance
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent se) Create the associated data in the session (if any).- Specified by:
sessionCreated
in interfacejakarta.servlet.http.HttpSessionListener
- Parameters:
se
- the HTTP session event.
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent httpSessionEvent) Destroy the associated data in the session.- Specified by:
sessionDestroyed
in interfacejakarta.servlet.http.HttpSessionListener
- Parameters:
httpSessionEvent
- the HTTP session event.
-