Package org.apache.myfaces.tobago.util
Class VariableResolverUtils
- java.lang.Object
-
- org.apache.myfaces.tobago.util.VariableResolverUtils
-
public final class VariableResolverUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearVariable(javax.faces.context.FacesContext context, String variable)
Clears the value of the variable.static Object
resolveVariable(javax.faces.context.FacesContext context, String variable)
Returns the requested object configured in the faces-config or from library.
-
-
-
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.
-
-