Top Inners Fields Constructors Methods
com.sun.faces.lifecycle

public Class ClientWindowFactoryImpl

extends ClientWindowFactory
Class Inheritance
Imports
com.sun.faces.config.WebConfiguration, jakarta.faces.application.Application, jakarta.faces.context.ExternalContext, .FacesContext, jakarta.faces.event.AbortProcessingException, .PostConstructApplicationEvent, .SystemEvent, .SystemEventListener, jakarta.faces.lifecycle.ClientWindow, .ClientWindowFactory

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private WebConfiguration
private boolean

Constructor Summary

AccessConstructor and Description
public
public
ClientWindowFactoryImpl(boolean ignored)

Method Summary

Modifier and TypeMethod and Description
public ClientWindow
getClientWindow(FacesContext
the FacesContext for this request.
context
)

Implements abstract jakarta.faces.lifecycle.ClientWindowFactory.getClientWindow.

The implementation is responsible for creating the ClientWindow instance for this request.

private void
Inherited from jakarta.faces.lifecycle.ClientWindowFactory:
getWrapped

Field Detail

configback to summary
private WebConfiguration config
isClientWindowEnabledback to summary
private boolean isClientWindowEnabled

Constructor Detail

ClientWindowFactoryImplback to summary
public ClientWindowFactoryImpl()
ClientWindowFactoryImplback to summary
public ClientWindowFactoryImpl(boolean ignored)

Method Detail

getClientWindowback to summary
public ClientWindow getClientWindow(FacesContext context)

Implements abstract jakarta.faces.lifecycle.ClientWindowFactory.getClientWindow.

Doc from jakarta.faces.lifecycle.ClientWindowFactory.getClientWindow.

The implementation is responsible for creating the ClientWindow instance for this request. If ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME is "none" or unspecified, this method must return null. If ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must return a ClientWindow instance that implements the url-mode semantics described in ClientWindow.

Parameters
context:FacesContext

the FacesContext for this request.

Returns:ClientWindow

the ClientWindow for this request, or null

Annotations
@Override
postConstructApplicationInitializationback to summary
private void postConstructApplicationInitialization()
com.sun.faces.lifecycle back to summary

private Class ClientWindowFactoryImpl.PostConstructApplicationListener

extends Object
implements SystemEventListener
Class Inheritance
  • java.lang.Object
  • com.sun.faces.lifecycle.ClientWindowFactoryImpl.PostConstructApplicationListener
All Implemented Interfaces
jakarta.faces.event.SystemEventListener, jakarta.faces.event.FacesListener, java.util.EventListener

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
isListenerForSource(Object
the source that is inquiring about the appropriateness of sending an event to this listener instance.
source
)

Implements jakarta.faces.event.SystemEventListener.isListenerForSource.

This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.

public void
processEvent(SystemEvent
the SystemEvent instance that is being processed.
event
)

Implements jakarta.faces.event.SystemEventListener.processEvent.

When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PostConstructApplicationListenerback to summary
private PostConstructApplicationListener()

Method Detail

isListenerForSourceback to summary
public boolean isListenerForSource(Object source)

Implements jakarta.faces.event.SystemEventListener.isListenerForSource.

Doc from jakarta.faces.event.SystemEventListener.isListenerForSource.

This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.

Parameters
source:Object

the source that is inquiring about the appropriateness of sending an event to this listener instance.

Returns:boolean

the value as specified above

Annotations
@Override
processEventback to summary
public void processEvent(SystemEvent event) throws AbortProcessingException

Implements jakarta.faces.event.SystemEventListener.processEvent.

Doc from jakarta.faces.event.SystemEventListener.processEvent.

When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.

Parameters
event:SystemEvent

the SystemEvent instance that is being processed.

Annotations
@Override
Exceptions
AbortProcessingException:
if lifecycle processing should cease for this request.