接口的使用
jdk.jshell.spi.ExecutionControlProvider
使用 ExecutionControlProvider 的包
包
描述
提供用于创建工具的接口,例如 Read-Eval-Print Loop (REPL),它以交互方式评估 Java 编程语言代码的“片段”。
为构建 JShell 执行引擎提供实现支持。
-
ExecutionControlProvider 在 jdk.jshell 中的用法
jdk.jshell 中的方法,参数类型为 ExecutionControlProvider修饰符和类型方法描述JShell.Builder.executionEngine(ExecutionControlProvider executionControlProvider, Map<String, String> executionControlParameters) 设置执行的自定义引擎。 -
ExecutionControlProvider 在 jdk.jshell.execution 中的用法
修饰符和类型类描述class按顺序尝试其他提供程序,直到一个工作。class远程 JDI 控制的执行引擎的提供者。class与 JShell 在同一进程中运行的执行引擎提供者。