Top Description Fields Constructors Methods
com.sun.faces.cdi.clientwindow

public Class ClientWindowScopeManager

extends Object
implements HttpSessionListener
Class Inheritance
All Implemented Interfaces
jakarta.servlet.http.HttpSessionListener, java.util.EventListener
Static Imports
java.util.logging.Level.FINEST

The manager that deals with non-CDI and CDI ClientWindowScoped beans.

Field Summary

Modifier and TypeField and Description
public static final String
CLIENT_WINDOW_SCOPE_MANAGER

Stores the constant to keep track of the ClientWindowScopeManager.

private ClientWindowScopeContextManager
contextManager

Stores the CDI context manager.

private static final Logger
LOGGER

Stores the logger.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv ClientWindowScopeContextManager

Returns:

the CDI context manager.
getContextManager
()

Get the CDI context manager.

public static ClientWindowScopeManager

Returns:

our instance
getInstance
(FacesContext
the FacesContext.
facesContext
)

Get our instance.

public void
sessionCreated(HttpSessionEvent
the HTTP session event.
se
)

Overrides default jakarta.servlet.http.HttpSessionListener.sessionCreated.

Create the associated data in the session (if any).

public void
sessionDestroyed(HttpSessionEvent
the HTTP session event.
httpSessionEvent
)

Overrides default jakarta.servlet.http.HttpSessionListener.sessionDestroyed.

Destroy the associated data in the session.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLIENT_WINDOW_SCOPE_MANAGERback to summary
public static final String CLIENT_WINDOW_SCOPE_MANAGER

Stores the constant to keep track of the ClientWindowScopeManager.

contextManagerback to summary
private ClientWindowScopeContextManager contextManager

Stores the CDI context manager.

LOGGERback to summary
private static final Logger LOGGER

Stores the logger.

Constructor Detail

ClientWindowScopeManagerback to summary
public ClientWindowScopeManager()

Constructor.

Method Detail

getContextManagerback to summary
pack-priv ClientWindowScopeContextManager getContextManager()

Get the CDI context manager.

Returns:ClientWindowScopeContextManager

the CDI context manager.

getInstanceback to summary
public static ClientWindowScopeManager getInstance(FacesContext facesContext)

Get our instance.

Parameters
facesContext:FacesContext

the FacesContext.

Returns:ClientWindowScopeManager

our instance

sessionCreatedback to summary
public void sessionCreated(HttpSessionEvent se)

Overrides default jakarta.servlet.http.HttpSessionListener.sessionCreated.

Create the associated data in the session (if any).

Parameters
se:HttpSessionEvent

the HTTP session event.

Annotations
@Override
sessionDestroyedback to summary
public void sessionDestroyed(HttpSessionEvent httpSessionEvent)

Overrides default jakarta.servlet.http.HttpSessionListener.sessionDestroyed.

Destroy the associated data in the session.

Parameters
httpSessionEvent:HttpSessionEvent

the HTTP session event.

Annotations
@Override