- All Implemented Interfaces:
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.
- Since:
- 2.2
-
Constructor Summary
ConstructorDescriptionDeprecated.Use the other constructor taking the implementation being wrapped.If this flow handler factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateFlowHandler
(FacesContext context) Create the singleton instance ofFlowHandler
.A class that implements this interface uses this method to return an instance of the class being wrapped.
-
Constructor Details
-
FlowHandlerFactoryWrapper
Deprecated.Use the other constructor taking the implementation being wrapped. -
FlowHandlerFactoryWrapper
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.- Parameters:
wrapped
- The implementation being wrapped.- Since:
- 2.3
-
-
Method Details
-
getWrapped
Description copied from interface:FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.
- Specified by:
getWrapped
in interfaceFacesWrapper<FlowHandlerFactory>
- Returns:
- the wrapped instance.
-
createFlowHandler
Description copied from class:FlowHandlerFactory
Create the singleton instance of
FlowHandler
.- Specified by:
createFlowHandler
in classFlowHandlerFactory
- Parameters:
context
- theFacesContext
for the current request- Returns:
- the newly created
FlowHandler
-