Search in sources :

Example 1 with DynamicClassLoader

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;
}
Also used : DynamicClassLoader(clojure.lang.DynamicClassLoader)

Aggregations

DynamicClassLoader (clojure.lang.DynamicClassLoader)1