Package net.sf.pipet.api

Examples of net.sf.pipet.api.ConfigurationFactory


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;
  }
View Full Code Here

TOP

Related Classes of net.sf.pipet.api.ConfigurationFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.