Package javax.faces.lifecycle
Class ClientWindowFactory
- java.lang.Object
-
- javax.faces.lifecycle.ClientWindowFactory
-
- All Implemented Interfaces:
FacesWrapper<ClientWindowFactory>
public abstract class ClientWindowFactory extends java.lang.Object implements FacesWrapper<ClientWindowFactory>
Create
ClientWindowinstances based on the incoming request.- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor Description ClientWindowFactory()
-
Method Summary
All 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.
-
-
-
Method Detail
-
getWrapped
public 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. A default implementation is provided that returns
null.- Specified by:
getWrappedin interfaceFacesWrapper<ClientWindowFactory>- Since:
- 2.2
-
getClientWindow
public 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- theFacesContextfor this request.- Returns:
- the
ClientWindowfor this request, ornull - Since:
- 2.2
-
-