Class JsfUtils

java.lang.Object
org.springframework.faces.webflow.JsfUtils

public class JsfUtils extends Object
Common support for the JSF integration with Spring Web Flow.
Author:
Jeremy Grelle, Phillip Webb
  • Constructor Details

    • JsfUtils

      public JsfUtils()
  • Method Details

    • notifyAfterListeners

      public static void notifyAfterListeners(jakarta.faces.event.PhaseId phaseId, jakarta.faces.lifecycle.Lifecycle lifecycle, jakarta.faces.context.FacesContext context)
    • notifyBeforeListeners

      public static void notifyBeforeListeners(jakarta.faces.event.PhaseId phaseId, jakarta.faces.lifecycle.Lifecycle lifecycle, jakarta.faces.context.FacesContext context)
    • isFlowRequest

      public static boolean isFlowRequest()
    • isAsynchronousFlowRequest

      public static boolean isAsynchronousFlowRequest()
    • findFactory

      public static <T> T findFactory(Class<T> factoryClass)
      Find a factory of the specified class using JSFs FactoryFinder class.
      Parameters:
      factoryClass - the factory class to find
      Returns:
      the factory instance