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
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    requestProcessed(org.springframework.webflow.execution.RequestContext context)
    Releases the current FlowFacesContext instance.
    void
    requestSubmitted(org.springframework.webflow.execution.RequestContext context)
    Creates a new instance of FlowFacesContext 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

      public static final String DEFAULT_FACES_CONTEXT
  • Constructor Details

    • FlowFacesContextLifecycleListener

      public FlowFacesContextLifecycleListener()
  • Method Details

    • requestSubmitted

      public void requestSubmitted(org.springframework.webflow.execution.RequestContext context)
      Creates a new instance of FlowFacesContext that is then available for the duration of the request.
      Specified by:
      requestSubmitted in interface org.springframework.webflow.execution.FlowExecutionListener
      Parameters:
      context - the current flow request context
    • requestProcessed

      public void requestProcessed(org.springframework.webflow.execution.RequestContext context)
      Releases the current FlowFacesContext instance.
      Specified by:
      requestProcessed in interface org.springframework.webflow.execution.FlowExecutionListener
      Parameters:
      context - the source of the event