org.apache.myfaces.config
Class RuntimeConfig

java.lang.Object
  extended byorg.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: 1.4 $ $Date: 2004/10/13 11:50:59 $ $Log: RuntimeConfig.java,v $ Revision 1.4 2004/10/13 11:50:59 matze renamed packages to org.apache Revision 1.3 2004/09/08 09:28:56 manolito moved MyfacesConfig to package config Revision 1.2 2004/07/07 08:34:58 mwessendorf removed unused import-statements Revision 1.1 2004/07/07 00:25:05 o_rossmueller tidy up config/confignew package (moved confignew classes to package config) Revision 1.4 2004/07/01 22:05:09 mwessendorf ASF switch Revision 1.3 2004/06/16 23:02:24 o_rossmueller merged confignew_branch Revision 1.2.2.1 2004/06/16 01:25:52 o_rossmueller refactorings: FactoryFinder, decorator creation, dispenser (removed reverse order) bug fixes additional tests Revision 1.2 2004/06/08 20:50:09 o_rossmueller completed configurator Revision 1.1 2004/05/17 14:28:28 manolito new configuration concept
Author:
Manfred Geiler (latest modification by $Author: matze $)

Constructor Summary
RuntimeConfig()
           
 
Method Summary
 void addManagedBean(java.lang.String name, ManagedBean managedBean)
           
 void addNavigationRule(NavigationRule navigationRule)
           
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.Collection getNavigationRules()
          Return the navigation rules that can be used by the NavigationHandler implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeConfig

public RuntimeConfig()
Method Detail

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 NavigationRules

addNavigationRule

public void addNavigationRule(NavigationRule navigationRule)

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)