インタフェースjdk.jshell.spi.ExecutionControlProviderの
使用
ExecutionControlProviderを使用するパッケージ
パッケージ
説明
Javaプログラミング言語コードの"snippets"をインタラクティブに評価するRead-Eval-Printループ(REPL)などのツールを作成するためのインタフェースを提供します。
JShell実行エンジンを構築するための実装サポートを提供します。
-
jdk.jshellでのExecutionControlProviderの使用
型ExecutionControlProviderのパラメータを持つjdk.jshellのメソッド修飾子と型メソッド説明JShell.Builder.executionEngine(ExecutionControlProvider executionControlProvider, Map<String, String> executionControlParameters) カスタム・エンジンを実行用に設定します。 -
jdk.jshell.executionでのExecutionControlProviderの使用
ExecutionControlProviderを実装しているjdk.jshell.executionのクラス修飾子と型クラス説明classあるプロバイダが動作するまで、他のプロバイダを順番に試します。classリモートJDI制御の実行エンジンのプロバイダ。classJShellと同じプロセスで実行される実行エンジンのプロバイダ。