Class FlowFacesContextLifecycleListener
java.lang.Object
org.springframework.faces.webflow.FlowFacesContextLifecycleListener
- All Implemented Interfaces:
org.springframework.webflow.execution.FlowExecutionListener
public class FlowFacesContextLifecycleListener
extends Object
implements org.springframework.webflow.execution.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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrequestProcessed(org.springframework.webflow.execution.RequestContext context) Releases the currentFlowFacesContextinstance.voidrequestSubmitted(org.springframework.webflow.execution.RequestContext context) Creates a new instance ofFlowFacesContextthat 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, waitMethods 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
public void requestSubmitted(org.springframework.webflow.execution.RequestContext context) Creates a new instance ofFlowFacesContextthat is then available for the duration of the request.- Specified by:
requestSubmittedin interfaceorg.springframework.webflow.execution.FlowExecutionListener- Parameters:
context- the current flow request context
-
requestProcessed
public void requestProcessed(org.springframework.webflow.execution.RequestContext context) Releases the currentFlowFacesContextinstance.- Specified by:
requestProcessedin interfaceorg.springframework.webflow.execution.FlowExecutionListener- Parameters:
context- the source of the event
-