Package org.apache.myfaces.tobago.util
Class VariableResolverUtils
java.lang.Object
org.apache.myfaces.tobago.util.VariableResolverUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
resolveVariable
Returns the requested object configured in the faces-config or from library. -
clearVariable
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.
-