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
Fields Modifier and Type Field Description static StringCLIENT_WINDOW_SCOPE_MANAGERStores the constant to keep track of the ClientWindowScopeManager.
-
Constructor Summary
Constructors Constructor Description ClientWindowScopeManager()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientWindowScopeManagergetInstance(FacesContext facesContext)Get our instance.voidsessionCreated(jakarta.servlet.http.HttpSessionEvent se)Create the associated data in the session (if any).voidsessionDestroyed(jakarta.servlet.http.HttpSessionEvent httpSessionEvent)Destroy the associated data in the session.
-
-
-
Field Detail
-
CLIENT_WINDOW_SCOPE_MANAGER
public static final String CLIENT_WINDOW_SCOPE_MANAGER
Stores the constant to keep track of the ClientWindowScopeManager.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ClientWindowScopeManager getInstance(FacesContext facesContext)
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:
sessionCreatedin 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:
sessionDestroyedin interfacejakarta.servlet.http.HttpSessionListener- Parameters:
httpSessionEvent- the HTTP session event.
-
-