| java.lang.Object com.opensymphony.xwork.config.ConfigurationManager
ConfigurationManager | public class ConfigurationManager (Code) | | ConfigurationManager - central for XWork Configuration management, including
its ConfigurationProvider.
author: Jason Carreira author: tm_jee version: $Date: 2007-06-02 11:01:04 +0200 (Sat, 02 Jun 2007) $ $Id: ConfigurationManager.java 1533 2007-06-02 09:01:04Z tm_jee $ |
LOG | final protected static Log LOG(Code) | | |
addConfigurationProvider | public static void addConfigurationProvider(ConfigurationProvider provider)(Code) | | adds a configuration provider to the List of ConfigurationProviders. a given ConfigurationProvider may be added
more than once
Parameters: provider - the ConfigurationProvider to register |
destroyConfiguration | public static synchronized void destroyConfiguration()(Code) | | |
getConfigurationProviders | public static List getConfigurationProviders()(Code) | |
get the current list of ConfigurationProviders.
if no custom ConfigurationProviders have been added, this method
will return a list containing only the default ConfigurationProvider, XMLConfigurationProvider. if a custom
ConfigurationProvider has been added, then the XmlConfigurationProvider must be added by hand.
TODO: the lazy instantiation of XmlConfigurationProvider should be refactored to be elsewhere. the behavior described above seems unintuitive.
the list of registered ConfigurationProvider objects See Also: com.opensymphony.xwork.config.ConfigurationProvider |
setConfiguration | public static synchronized void setConfiguration(Configuration configuration)(Code) | | |
|
|