}
public static boolean runModule(ModuleDefinition mod, Map<String,String> atts, Map<String,Collection<InputStream>> in, Map<String,OutputStream> out, ResourceLoader loader, Messenger msgr) throws Exception
{
ModuleInstance job = mod.getInterface().createInstance(new PlainModuleData(createAttributes(atts), in, out, loader), msgr);
return job.run();
}
private static ModuleAttributes createAttributes(Map<String,String> values)
{
ModuleAttributes atts = new ModuleAttributes();