final List<ConfigurationFactory> list = new ArrayList<ConfigurationFactory>();
final String factoryClass = PropertiesUtil.getProperties().getStringProperty(CONFIGURATION_FACTORY_PROPERTY);
if (factoryClass != null) {
addFactory(list, factoryClass);
}
final PluginManager manager = new PluginManager("ConfigurationFactory");
manager.collectPlugins();
final Map<String, PluginType<?>> plugins = manager.getPlugins();
final Set<WeightedFactory> ordered = new TreeSet<WeightedFactory>();
for (final PluginType<?> type : plugins.values()) {
try {
@SuppressWarnings("unchecked")
final Class<ConfigurationFactory> clazz = (Class<ConfigurationFactory>)type.getPluginClass();