Class FlowFacesContextLifecycleListener
java.lang.Object
org.springframework.faces.webflow.FlowFacesContextLifecycleListener
- All Implemented Interfaces:
FlowExecutionListener
A
FlowExecutionListener
that creates a FlowFacesContext
instance when a flow request is submitted and releases it when the request
has been processed.- Author:
- Rossen Stoyanchev
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
requestProcessed
(RequestContext context) Releases the currentFlowFacesContext
instance.void
requestSubmitted
(RequestContext context) Creates a new instance ofFlowFacesContext
that is then available for the duration of the request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.webflow.execution.FlowExecutionListener
eventSignaled, exceptionThrown, paused, resuming, sessionCreating, sessionEnded, sessionEnding, sessionStarted, sessionStarting, stateEntered, stateEntering, transitionExecuting, viewRendered, viewRendering
-
Field Details
-
DEFAULT_FACES_CONTEXT
-
-
Constructor Details
-
FlowFacesContextLifecycleListener
public FlowFacesContextLifecycleListener()
-
-
Method Details
-
requestSubmitted
Creates a new instance ofFlowFacesContext
that is then available for the duration of the request.- Specified by:
requestSubmitted
in interfaceFlowExecutionListener
- Parameters:
context
- the current flow request context
-
requestProcessed
Releases the currentFlowFacesContext
instance.- Specified by:
requestProcessed
in interfaceFlowExecutionListener
- Parameters:
context
- the source of the event
-