Class VariableResolverUtils


  • public final class VariableResolverUtils
    extends Object
    • Method Detail

      • resolveVariable

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

        public static void clearVariable​(javax.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.