modules/jooby-run/src/main/java/org/jooby/run/AppModuleLoader.java
public static AppModuleLoader build(final String name, final File... cp) throws Exception {
    Map<ModuleIdentifier, ModuleSpec> modules = newModule(name, 0, "", cp);
    return new AppModuleLoader(modules);
  }
public static AppModuleLoader build(final String name, final File... cp) throws Exception {
    Map<ModuleIdentifier, ModuleSpec> modules = newModule(name, 0, "", cp);
    return new AppModuleLoader(modules);
  }
public static AppModuleLoader build ( final String name , final File ... cp ) throws Exception { Map < ModuleIdentifier , ModuleSpec > modules = newModule ( name , 0 , "" , cp ) ; return new AppModuleLoader ( modules ) ; }
Build a flat jboss module, with some minor exceptions (like j2v8).

@param name module name.
@param cp Classpath.
@return A new app module loader.
@throws Exception If something goes wrong.
Build a flat jboss module with some minor exceptions ( like j2v8 ) .