Class ClientWindowFactory
- java.lang.Object
- 
- jakarta.faces.lifecycle.ClientWindowFactory
 
- 
- All Implemented Interfaces:
- FacesWrapper<ClientWindowFactory>
 
 public abstract class ClientWindowFactory extends Object implements FacesWrapper<ClientWindowFactory> Create ClientWindowinstances based on the incoming request.Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped()to access the instance being wrapped.- Since:
- 2.2
 
- 
- 
Constructor SummaryConstructors Constructor Description ClientWindowFactory()Deprecated.Use the other constructor taking the implementation being wrapped.ClientWindowFactory(ClientWindowFactory wrapped)If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ClientWindowgetClientWindow(FacesContext context)The implementation is responsible for creating theClientWindowinstance for this request.ClientWindowFactorygetWrapped()If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
 
- 
- 
- 
Constructor Detail- 
ClientWindowFactory@Deprecated public ClientWindowFactory() Deprecated.Use the other constructor taking the implementation being wrapped.
 - 
ClientWindowFactorypublic ClientWindowFactory(ClientWindowFactory wrapped) If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The getWrapped()will then return the implementation being wrapped.- Parameters:
- wrapped- The implementation being wrapped.
 
 
- 
 - 
Method Detail- 
getWrappedpublic ClientWindowFactory getWrapped() If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. - Specified by:
- getWrappedin interface- FacesWrapper<ClientWindowFactory>
- Returns:
- the wrapped instance.
 
 - 
getClientWindowpublic abstract ClientWindow getClientWindow(FacesContext context) The implementation is responsible for creating the ClientWindowinstance for this request. IfClientWindow.CLIENT_WINDOW_MODE_PARAM_NAMEis "none" or unspecified, this method must returnnull. IfClientWindow.CLIENT_WINDOW_MODE_PARAM_NAMEis "url" the implementation must return aClientWindowinstance that implements the url-mode semantics described inClientWindow.- Parameters:
- context- the- FacesContextfor this request.
- Returns:
- the ClientWindowfor this request, ornull
- Since:
- 2.2
 
 
- 
 
-