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.
- Version:
- $Revision: 472618 $ $Date: 2006-11-08 21:06:54 +0100 (Mi, 08 Nov 2006) $
- Author:
- Manfred Geiler (latest modification by $Author: grantsmith $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeConfig
public RuntimeConfig()
getCurrentInstance
public static RuntimeConfig getCurrentInstance(javax.faces.context.ExternalContext externalContext)
getNavigationRules
public java.util.Collection getNavigationRules()
- Return the navigation rules that can be used by the NavigationHandler implementation.
- Returns:
- a Collection of
NavigationRule
s
getManagedBeans
public java.util.Map getManagedBeans()
addNavigationRule
public void addNavigationRule(NavigationRule navigationRule)
isNavigationRulesChanged
public boolean isNavigationRulesChanged()
setNavigationRulesChanged
public void setNavigationRulesChanged(boolean navigationRulesChanged)
getManagedBean
public ManagedBean getManagedBean(java.lang.String name)
- Return the managed bean info that can be used by the VariableResolver implementation.
- Returns:
- a
ManagedBean
addManagedBean
public void addManagedBean(java.lang.String name,
ManagedBean managedBean)
Copyright © 2009. All Rights Reserved.