public class ConfigurationDefaultResource
implements ConfigurationResource
{
public static ConfigurationFactory newFactory()
{
ConfigurationFactory factory = ConfigurationFactory.newInstance();
//factory.addDefaultModuleResourcePlugin("class", "class:"+ClassResourcePlugin.class.getName(), new ClassResourcePlugin());
//factory.addDefaultModuleResourcePlugin("pipeline", "class:"+PipelineResourcePlugin.class.getName(), new PipelineResourcePlugin());
factory.addDefaultModuleResourcePlugin("http", "class:"+HttpResourcePlugin.class.getName(), new HttpResourcePlugin());
factory.addDefaultModuleResourcePlugin("jar", "class:"+JarResourcePlugin.class.getName(), new JarResourcePlugin(new DefaultResourceLoader()));
factory.addDefaultModuleResourcePlugin("sh", "class:"+ShellCommandResourcePlugin.class.getName(), new ShellCommandResourcePlugin());
factory.addDefaultModuleResourcePlugin("basic-io", "class:"+IOPlugin.class.getName(), new IOPlugin());
factory.addDefaultModuleResourcePlugin("xml", "class:"+XMLPlugin.class.getName(), new IOPlugin());
return factory;
}