1 package org
.argeo
.init
.jshell
;
5 import jdk
.jshell
.execution
.DirectExecutionControl
;
6 import jdk
.jshell
.spi
.ExecutionControl
;
7 import jdk
.jshell
.spi
.ExecutionControlProvider
;
8 import jdk
.jshell
.spi
.ExecutionEnv
;
9 import jdk
.jshell
.tool
.JavaShellToolBuilder
;
12 * Canonical {@link ExecutionControlProvider} wrapping a
13 * {@link DirectExecutionControl}, so that {@link JavaShellToolBuilder} can run
16 public class DirectExecutionControlProvider
implements ExecutionControlProvider
{
19 public String
name() {
24 public ExecutionControl
generate(ExecutionEnv env
, Map
<String
, String
> parameters
) throws Throwable
{
25 return new DirectExecutionControl();