org.apache.myfaces.config
Class RuntimeConfig
java.lang.Object
org.apache.myfaces.config.RuntimeConfig
public class RuntimeConfig
extends java.lang.Object
Holds all configuration information (from the faces-config xml files) that
is needed later during runtime.
The config information in this class is only available to the MyFaces core
implementation classes (i.e. the myfaces source tree). See MyfacesConfig
for config parameters that can be used for shared or component classes.
$Revision: 233472 $ $Date: 2005-08-19 14:40:17 +0200 (Fri, 19 Aug 2005) $- Manfred Geiler (latest modification by $Author: mmarinschek $)
addManagedBean
public void addManagedBean(String name,
ManagedBean managedBean)
addNavigationRule
public void addNavigationRule(NavigationRule navigationRule)
getCurrentInstance
public static RuntimeConfig getCurrentInstance(ExternalContext externalContext)
getManagedBean
public ManagedBean getManagedBean(String name)
Return the managed bean info that can be used by the VariableResolver implementation.
getNavigationRules
public Collection getNavigationRules()
Return the navigation rules that can be used by the NavigationHandler implementation.
isNavigationRulesChanged
public boolean isNavigationRulesChanged()
setNavigationRulesChanged
public void setNavigationRulesChanged(boolean navigationRulesChanged)