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