org.apache.myfaces.tobago.util
Class VariableResolverUtil

java.lang.Object
  extended by org.apache.myfaces.tobago.util.VariableResolverUtil

public class VariableResolverUtil
extends Object


Method Summary
static void clearVariable(FacesContext context, String variable)
          Clears the value of the variable.
static Object resolveVariable(FacesContext context, String variable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveVariable

public static Object resolveVariable(FacesContext context,
                                     String variable)

clearVariable

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.

Parameters:
context -
variable -


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.