use of clojure.lang.DynamicClassLoader in project beakerx by twosigma.
the class ClojureClassLoaderFactory method newInstance.
static DynamicClassLoader newInstance(Classpath classPath, String outDir) {
DynamicClassLoader dynamicClassLoader = new DynamicClassLoader();
classPath.getPaths().forEach(path -> dynamicClassLoader.addURL(path.getUrl()));
return dynamicClassLoader;
}
Aggregations