Package org.apache.myfaces.config
Class RuntimeConfig
- java.lang.Object
- 
- org.apache.myfaces.config.RuntimeConfig
 
- 
 public class RuntimeConfig extends 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$ $Date$
- Author:
- Manfred Geiler (latest modification by $Author$)
 
- 
- 
Constructor SummaryConstructors Constructor Description RuntimeConfig()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
getCurrentInstancepublic static RuntimeConfig getCurrentInstance(FacesContext facesContext) 
 - 
getCurrentInstancepublic static RuntimeConfig getCurrentInstance(ExternalContext externalContext) 
 - 
purgepublic void purge() 
 - 
getNavigationRulespublic Collection<NavigationRule> getNavigationRules() Return the navigation rules that can be used by the NavigationHandler implementation.- Returns:
- a Collection of NavigationRules
 
 - 
addNavigationRulepublic void addNavigationRule(NavigationRule navigationRule) 
 - 
isNavigationRulesChangedpublic boolean isNavigationRulesChanged() 
 - 
setNavigationRulesChangedpublic void setNavigationRulesChanged(boolean navigationRulesChanged) 
 - 
addComponentTagDeclarationpublic void addComponentTagDeclaration(ComponentTagDeclaration declaration) 
 - 
getComponentTagDeclarationspublic List<ComponentTagDeclaration> getComponentTagDeclarations() 
 - 
addFaceletTagLibrarypublic void addFaceletTagLibrary(FaceletTagLibrary library) 
 - 
getFaceletTagLibrariespublic List<FaceletTagLibrary> getFaceletTagLibraries() 
 - 
addConverterConfigurationpublic final void addConverterConfiguration(String converterClassName, Converter configuration) 
 - 
getResourceBundlepublic ResourceBundle getResourceBundle(String name) Return the resourcebundle which was configured in faces config by var name- Parameters:
- name- the name of the resource bundle (content of var)
- Returns:
- the resource bundle or null if not found
 
 - 
getResourceBundlespublic Map<String,ResourceBundle> getResourceBundles() - Returns:
- the resourceBundles
 
 - 
addResourceBundlepublic void addResourceBundle(ResourceBundle bundle) 
 - 
addFacesConfigElResolverpublic void addFacesConfigElResolver(jakarta.el.ELResolver resolver) 
 - 
getFacesConfigElResolverspublic List<jakarta.el.ELResolver> getFacesConfigElResolvers() 
 - 
addApplicationElResolverpublic void addApplicationElResolver(jakarta.el.ELResolver resolver) 
 - 
getApplicationElResolverspublic List<jakarta.el.ELResolver> getApplicationElResolvers() 
 - 
getExpressionFactorypublic jakarta.el.ExpressionFactory getExpressionFactory() 
 - 
setExpressionFactorypublic void setExpressionFactory(jakarta.el.ExpressionFactory expressionFactory) 
 - 
getFacesVersionpublic String getFacesVersion() 
 - 
getNamedEventManagerpublic NamedEventManager getNamedEventManager() 
 - 
setNamedEventManagerpublic void setNamedEventManager(NamedEventManager namedEventManager) 
 - 
getELResolverComparatorpublic Comparator<jakarta.el.ELResolver> getELResolverComparator() 
 - 
setELResolverComparatorpublic void setELResolverComparator(Comparator<jakarta.el.ELResolver> elResolverComparator) 
 - 
getELResolverPredicatepublic Predicate<jakarta.el.ELResolver> getELResolverPredicate() 
 - 
setELResolverPredicatepublic void setELResolverPredicate(Predicate<jakarta.el.ELResolver> elResolverPredicate) 
 - 
addFaceletProcessingConfigurationpublic void addFaceletProcessingConfiguration(String fileExtension, FaceletsProcessing configuration) 
 - 
getFaceletProcessingConfigurationpublic FaceletsProcessing getFaceletProcessingConfiguration(String fileExtensions) 
 - 
getFaceletProcessingConfigurationspublic Collection<FaceletsProcessing> getFaceletProcessingConfigurations() 
 - 
getExternalContextResourceLibraryContractspublic Set<String> getExternalContextResourceLibraryContracts() - Returns:
- the _externalContextResourceLibraryContracts
 
 - 
setExternalContextResourceLibraryContractspublic void setExternalContextResourceLibraryContracts(Set<String> externalContextResourceLibraryContracts) - Parameters:
- externalContextResourceLibraryContracts- the _externalContextResourceLibraryContracts to set
 
 - 
getClassLoaderResourceLibraryContractspublic Set<String> getClassLoaderResourceLibraryContracts() - Returns:
- the _classLoaderResourceLibraryContracts
 
 - 
setClassLoaderResourceLibraryContractspublic void setClassLoaderResourceLibraryContracts(Set<String> classLoaderResourceLibraryContracts) - Parameters:
- classLoaderResourceLibraryContracts- the _classLoaderResourceLibraryContracts to set
 
 - 
getResourceLibraryContractspublic Set<String> getResourceLibraryContracts() - Returns:
- the _resourceLibraryContracts
 
 - 
getContractMappingspublic Map<String,List<String>> getContractMappings() - Returns:
- the _contractMappings
 
 - 
addResourceResolverpublic void addResourceResolver(String resourceResolver) 
 - 
getViewPoolMappingspublic List<ViewPoolMapping> getViewPoolMappings() 
 - 
addViewPoolMappingpublic void addViewPoolMapping(ViewPoolMapping mapping) 
 - 
addApplicationSearchExpressionResolverpublic void addApplicationSearchExpressionResolver(SearchKeywordResolver resolver) 
 - 
getApplicationSearchExpressionResolverspublic List<SearchKeywordResolver> getApplicationSearchExpressionResolvers() 
 - 
getFaceletsTemplateMappingspublic List<FaceletsTemplateMapping> getFaceletsTemplateMappings() 
 - 
addFaceletsTemplateMappingpublic void addFaceletsTemplateMapping(FaceletsTemplateMapping mapping) 
 
- 
 
-