public abstract class FlowHandlerFactoryWrapper extends FlowHandlerFactory implements FacesWrapper<FlowHandlerFactory>
FlowHandlerFactoryWrapper
provides a simple implementation of FlowHandlerFactory that
can be subclassed by developers wishing to provide specialized
behavior to an existing FlowHandlerFactory instance. The
default implementation of all methods is to call through to the
wrapped FlowHandlerFactory instance.
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 |
|---|
FlowHandlerFactoryWrapper()
Deprecated.
Use the other constructor taking the implementation being wrapped.
|
FlowHandlerFactoryWrapper(FlowHandlerFactory wrapped)
If this flow handler factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
FlowHandler |
createFlowHandler(FacesContext context)
Create the singleton instance of
|
FlowHandlerFactory |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped. |
@Deprecated public FlowHandlerFactoryWrapper()
public FlowHandlerFactoryWrapper(FlowHandlerFactory wrapped)
If this flow handler 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 FlowHandlerFactory getWrapped()
FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped in interface FacesWrapper<FlowHandlerFactory>public FlowHandler createFlowHandler(FacesContext context)
FlowHandlerFactoryCreate the singleton instance of
FlowHandler.
createFlowHandler in class FlowHandlerFactorycontext - the FacesContext for the current requestFlowHandlerCopyright © 2019 Eclipse Foundation.
Use is subject to license terms.