public abstract class ClientWindowFactory extends Object implements 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.
Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
abstract ClientWindow |
getClientWindow(FacesContext context)
The implementation is responsible
for creating the |
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. |
@Deprecated public ClientWindowFactory()
public 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.
wrapped
- The implementation being wrapped.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.
getWrapped
in interface FacesWrapper<ClientWindowFactory>
public abstract ClientWindow getClientWindow(FacesContext context)
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
.
context
- the FacesContext
for this request.ClientWindow
for this request, or null
Copyright © 2019 JBoss by Red Hat. All rights reserved.