org.rcfaces.core.util
Class VariableResolver
java.lang.Object
org.rcfaces.core.util.VariableResolver
public class VariableResolver
- extends Object
- Version:
- $Revision: 1.1 $ $Date: 2007/03/23 16:26:33 $
- Author:
- Olivier Oeuillot (latest modification by $Author: oeuillot $)
|
Method Summary |
static Object |
resolve(String variable)
Search and instanciate (if necessary) a backing bean by its name. |
static Object |
resolve(String variable,
FacesContext facesContext)
Search and instanciate (if necessary) a backing bean by its name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableResolver
public VariableResolver()
resolve
public static Object resolve(String variable)
- Search and instanciate (if necessary) a backing bean by its name.
- Parameters:
variable - The variable name of the backing bean.
- Returns:
- An object (can not return
null)
- Throws:
FacesException - if the variable is unknown.
resolve
public static Object resolve(String variable,
FacesContext facesContext)
- Search and instanciate (if necessary) a backing bean by its name.
- Parameters:
variable - The variable name of the backing bean.facesContext - The facesContext or null.
- Returns:
- An object (can not return
null)
- Throws:
FacesException - if the variable is unknown.
Copyright © 2006-2011 Vedana. All Rights Reserved.