public class FlowFacesContextLifecycleListener extends FlowExecutionListenerAdapter
FlowExecutionListener
that creates a FlowFacesContext
instance when a flow request is submitted and releases it when the request
has been processed.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_FACES_CONTEXT |
Constructor and Description |
---|
FlowFacesContextLifecycleListener() |
Modifier and Type | Method and Description |
---|---|
void |
requestProcessed(RequestContext context)
Releases the current
FlowFacesContext instance. |
void |
requestSubmitted(RequestContext context)
Creates a new instance of
FlowFacesContext that is then available for the duration of the request. |
eventSignaled, exceptionThrown, paused, resuming, sessionCreating, sessionEnded, sessionEnding, sessionStarted, sessionStarting, stateEntered, stateEntering, transitionExecuting, viewRendered, viewRendering
public void requestSubmitted(RequestContext context)
FlowFacesContext
that is then available for the duration of the request.requestSubmitted
in interface FlowExecutionListener
requestSubmitted
in class FlowExecutionListenerAdapter
context
- the current flow request contextpublic void requestProcessed(RequestContext context)
FlowFacesContext
instance.requestProcessed
in interface FlowExecutionListener
requestProcessed
in class FlowExecutionListenerAdapter
context
- the source of the event