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