public static final Plugin[] createPlugins(PluginFactoryConfig config)
throws PluginFactoryException
{
Plugin[] result;
PropertyMap properties = config.getProperties().subMap(cPluginsKey);
Set keySet = properties.subMapKeySet();
result = new Plugin[keySet.size()];
Iterator iterator = keySet.iterator();
for (int i=0; iterator.hasNext(); i++) {
String name = (String) iterator.next();
PropertyMap initProps = properties.subMap(name);
PluginFactoryConfig conf = new PluginFactoryConfigSupport
(initProps, config.getLog(), config.getPluginContext());
result[i] = createPlugin(name, conf);
}
return result;