Class ClientWindowFactory
- All Implemented Interfaces:
FacesWrapper<ClientWindowFactory>
Create ClientWindow instances 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 Summary
ConstructorsConstructorDescriptionDeprecated.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 Summary
Modifier and TypeMethodDescriptionabstract ClientWindowgetClientWindow(FacesContext context) The implementation is responsible for creating theClientWindowinstance 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
Deprecated.Use the other constructor taking the implementation being wrapped. -
ClientWindowFactory
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 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.
- Specified by:
getWrappedin interfaceFacesWrapper<ClientWindowFactory>- Returns:
- the wrapped instance.
-
getClientWindow
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
-