|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.config.RuntimeConfig
public class RuntimeConfig
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.
Constructor Summary | |
---|---|
RuntimeConfig()
|
Method Summary | |
---|---|
void |
addConverterConfiguration(java.lang.String converterClassName,
Converter configuration)
|
void |
addManagedBean(java.lang.String name,
ManagedBean managedBean)
|
void |
addNavigationRule(NavigationRule navigationRule)
|
Converter |
getConverterConfiguration(java.lang.String converterClassName)
|
static RuntimeConfig |
getCurrentInstance(javax.faces.context.ExternalContext externalContext)
|
ManagedBean |
getManagedBean(java.lang.String name)
Return the managed bean info that can be used by the VariableResolver implementation. |
java.util.Map |
getManagedBeans()
|
java.util.List |
getManagedBeans(java.lang.String name)
Return the managed bean info that can be used by the VariableResolver implementation. |
java.util.Map |
getManagedBeansNotReaddedAfterPurge()
|
java.util.Collection |
getNavigationRules()
Return the navigation rules that can be used by the NavigationHandler implementation. |
boolean |
isNavigationRulesChanged()
|
void |
purge()
|
void |
resetManagedBeansNotReaddedAfterPurge()
|
void |
setNavigationRulesChanged(boolean navigationRulesChanged)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimeConfig()
Method Detail |
---|
public static RuntimeConfig getCurrentInstance(javax.faces.context.ExternalContext externalContext)
public void purge()
public java.util.Collection getNavigationRules()
NavigationRule
spublic java.util.Map getManagedBeans()
public void addNavigationRule(NavigationRule navigationRule)
public boolean isNavigationRulesChanged()
public void setNavigationRulesChanged(boolean navigationRulesChanged)
public ManagedBean getManagedBean(java.lang.String name)
ManagedBean
public java.util.List getManagedBeans(java.lang.String name)
ManagedBean
public void addManagedBean(java.lang.String name, ManagedBean managedBean)
public java.util.Map getManagedBeansNotReaddedAfterPurge()
public void resetManagedBeansNotReaddedAfterPurge()
public void addConverterConfiguration(java.lang.String converterClassName, Converter configuration)
public Converter getConverterConfiguration(java.lang.String converterClassName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |