public final class

VariableResolverUtils

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

Summary

Public Methods
static void clearVariable(FacesContext context, String variable)
Clears the value of the variable.
static ClientProperties resolveClientProperties(FacesContext facesContext)
Returns the ClientProperties object configured in the faces-config.
static Object resolveVariable(FacesContext context, String variable)
Returns the requested object configured in the faces-config or from library.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

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

public static ClientProperties resolveClientProperties (FacesContext facesContext)

Returns the ClientProperties object configured in the faces-config.

public static Object resolveVariable (FacesContext context, String variable)

Returns the requested object configured in the faces-config or from library.