com.tomgibara.pronto.config.impl
Class ConfigFactoryImpl

java.lang.Object
  extended by com.tomgibara.pronto.config.ConfigFactory
      extended by com.tomgibara.pronto.config.impl.ConfigFactoryImpl

public class ConfigFactoryImpl
extends ConfigFactory

Default FactoryImpl implementation.

Author:
Tom Gibara

Constructor Summary
ConfigFactoryImpl()
           
 
Method Summary
 Config newConfig(ConfigSource source, java.lang.ClassLoader classLoader)
          Returns a new ConfigImpl instance.
 
Methods inherited from class com.tomgibara.pronto.config.ConfigFactory
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigFactoryImpl

public ConfigFactoryImpl()
Method Detail

newConfig

public Config newConfig(ConfigSource source,
                        java.lang.ClassLoader classLoader)
                 throws ProntoConfigException
Returns a new ConfigImpl instance.

Specified by:
newConfig in class ConfigFactory
Parameters:
source - the config source
classLoader - the class loader
Returns:
a new ConfigImpl
Throws:
ProntoConfigException - if the ConfigImpl constructor throws one


Copyright © 2006-2007 Tom Gibara. All Rights Reserved.