use of com.twosigma.beakerx.javash.evaluator.JavaEvaluator in project beakerx by twosigma.
the class Java method main.
public static void main(final String[] args) throws InterruptedException, IOException {
KernelRunner.run(() -> {
String id = uuid();
JavaEvaluator e = new JavaEvaluator(id, id, getKernelParameters());
KernelSocketsFactoryImpl kernelSocketsFactory = new KernelSocketsFactoryImpl(new KernelConfigurationFile(args));
return new Java(id, e, kernelSocketsFactory);
});
}
use of com.twosigma.beakerx.javash.evaluator.JavaEvaluator in project beakerx by twosigma.
the class JavaEvaluatorAutocompleteImportTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
HashMap<String, Object> map = new HashMap<>();
map.put(IMPORTS, new JavaDefaultVariables().getImports());
EvaluatorParameters kernelParameters = new EvaluatorParameters(map);
groovyEvaluator = new JavaEvaluator("id", "sid", cellExecutor(), getTestTempFolderFactory(), kernelParameters);
}
Aggregations