public class FlowFacesContextLifecycleListener extends java.lang.Object implements FlowExecutionListener
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
context
- the current flow request contextpublic void requestProcessed(RequestContext context)
FlowFacesContext
instance.requestProcessed
in interface FlowExecutionListener
context
- the source of the event