Top Description Fields Constructors Methods
jakarta.faces.flow

public abstract Class FlowHandlerFactoryWrapper

extends FlowHandlerFactory
implements FacesWrapper<FlowHandlerFactory>
Class Inheritance
All Implemented Interfaces
jakarta.faces.FacesWrapper
Imports
jakarta.faces.FacesWrapper, jakarta.faces.context.FacesContext

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

Field Summary

Modifier and TypeField and Description
private FlowHandlerFactory

Constructor Summary

AccessConstructor and Description
public
FlowHandlerFactoryWrapper()

Deprecated Use the other constructor taking the implementation being wrapped.
public
FlowHandlerFactoryWrapper(FlowHandlerFactory
The implementation being wrapped.
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 TypeMethod and Description
public FlowHandler
createFlowHandler(FacesContext
the FacesContext for the current request
context
)

Implements abstract jakarta.faces.flow.FlowHandlerFactory.createFlowHandler.

Create the singleton instance of FlowHandler.

public FlowHandlerFactory
getWrapped()

Implements jakarta.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

Field Detail

wrappedback to summary
private FlowHandlerFactory wrapped

Constructor Detail

FlowHandlerFactoryWrapperback to summary
public FlowHandlerFactoryWrapper()

Deprecated

Use the other constructor taking the implementation being wrapped.

Annotations
@Deprecated
FlowHandlerFactoryWrapperback to summary
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.

Parameters
wrapped:FlowHandlerFactory

The implementation being wrapped.

Since
2.3

Method Detail

createFlowHandlerback to summary
public FlowHandler createFlowHandler(FacesContext context)

Implements abstract jakarta.faces.flow.FlowHandlerFactory.createFlowHandler.

Doc from jakarta.faces.flow.FlowHandlerFactory.createFlowHandler.

Create the singleton instance of FlowHandler.

Parameters
context:FacesContext

the FacesContext for the current request

Returns:FlowHandler

the newly created FlowHandler

Annotations
@Override
getWrappedback to summary
public FlowHandlerFactory getWrapped()

Implements jakarta.faces.FacesWrapper.getWrapped.

Doc from jakarta.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

Returns:FlowHandlerFactory

the wrapped instance.

Annotations
@Override