Package javax.faces.lifecycle
Class ClientWindowFactory
java.lang.Object
javax.faces.lifecycle.ClientWindowFactory
- All Implemented Interfaces:
FacesWrapper<ClientWindowFactory>
public abstract class ClientWindowFactory
extends Object
implements FacesWrapper<ClientWindowFactory>
Create ClientWindow
instances based on
the incoming request.
- Since:
- 2.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ClientWindow
getClientWindow
(FacesContext context) The implementation is responsible for creating theClientWindow
instance for this request.If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
-
Constructor Details
-
ClientWindowFactory
public ClientWindowFactory()
-
-
Method Details
-
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:
getWrapped
in interfaceFacesWrapper<ClientWindowFactory>
- Since:
- 2.2
-
getClientWindow
The implementation is responsible for creating the
ClientWindow
instance for this request. IfClientWindow.CLIENT_WINDOW_MODE_PARAM_NAME
is "none" or unspecified, this method must returnnull
. IfClientWindow.CLIENT_WINDOW_MODE_PARAM_NAME
is "url" the implementation must return aClientWindow
instance that implements the url-mode semantics described inClientWindow
.- Parameters:
context
- theFacesContext
for this request.- Returns:
- the
ClientWindow
for this request, ornull
- Since:
- 2.2
-