インタフェースjdk.jshell.spi.ExecutionEnvの
使用
ExecutionEnvを使用するパッケージ
パッケージ
説明
JShell実行エンジンを構築するための実装サポートを提供します。
プラガブルJShell実行エンジン用のサービス・プロバイダ・インタフェースを定義します。
-
jdk.jshell.executionでのExecutionEnvの使用
型ExecutionEnvのパラメータを持つjdk.jshell.executionのメソッド修飾子と型メソッド説明FailOverExecutionControlProvider.generate(ExecutionEnv env, Map<String,String> parameters)ローカルに実行するExecutionControlインスタンスを作成して返します。JdiExecutionControlProvider.generate(ExecutionEnv env, Map<String,String> parameters)LocalExecutionControlProvider.generate(ExecutionEnv env, Map<String,String> parameters)ローカルに実行するExecutionControlインスタンスを作成して返します。 -
jdk.jshell.spiでのExecutionEnvの使用
型ExecutionEnvのパラメータを持つjdk.jshell.spiのメソッド修飾子と型メソッド説明static ExecutionControlExecutionControl.generate(ExecutionEnv env, String spec)プロバイダを検索し、ExecutionControlインスタンスを作成して返します。static ExecutionControlプロバイダを検索し、ExecutionControlインスタンスを作成して返します。ExecutionControlProvider.generate(ExecutionEnv env, Map<String,String> parameters)ExecutionControlインスタンスを作成して返します。