Klasse VariableResolverUtils

java.lang.Object
org.apache.myfaces.tobago.util.VariableResolverUtils

public final class VariableResolverUtils extends Object
  • Methodendetails

    • resolveVariable

      public static Object resolveVariable(jakarta.faces.context.FacesContext context, String variable)
      Returns the requested object configured in the faces-config or from library.
    • clearVariable

      public static void clearVariable(jakarta.faces.context.FacesContext context, String variable)
      Clears the value of the variable. Useful for cleaning up e.g. a session or application variable to save memory without the knowledge of the scope. Also useful to enforce a new creation of a managed-bean.