java.lang.Object
jdk.jshell.execution.DirectExecutionControl
jdk.jshell.execution.LocalExecutionControl
- すべての実装されたインタフェース:
AutoCloseable
,ExecutionControl
public class LocalExecutionControl extends DirectExecutionControl
JShellコアと同じJVMで実行される
ExecutionControl
の実装。- 導入されたバージョン:
- 9
-
ネストされたクラスのサマリー
インタフェースjdk.jshell.spi.ExecutionControlで宣言されたネストされたクラス/インタフェース
ExecutionControl.ClassBytecodes, ExecutionControl.ClassInstallException, ExecutionControl.EngineTerminationException, ExecutionControl.ExecutionControlException, ExecutionControl.InternalException, ExecutionControl.NotImplementedException, ExecutionControl.ResolutionException, ExecutionControl.RunException, ExecutionControl.StoppedException, ExecutionControl.UserException
-
コンストラクタのサマリー
コンストラクタ説明デフォルトのクラス・ロードを使用してインスタンスを作成します。LocalExecutionControl
(LoaderDelegate loaderDelegate) インスタンスを作成し、指定した委任にローダー操作を委任します。 -
メソッドのサマリー
修飾子と型メソッド説明protected void
ユーザー・コードにエントリをマークします。protected void
ユーザー・コードからの出発をマークします。クラスjdk.jshell.execution.DirectExecutionControlで宣言されたメソッド
addToClasspath, classesRedefined, close, extensionCommand, findClass, invoke, invoke, load, redefine, stop, throwConvertedInvocationException, throwConvertedOtherException, valueString, varValue
-
コンストラクタの詳細
-
LocalExecutionControl
public LocalExecutionControl(LoaderDelegate loaderDelegate) インスタンスを作成し、指定した委任にローダー操作を委任します。- パラメータ:
loaderDelegate
- デリゲートがロード・クラスを処理
-
LocalExecutionControl
public LocalExecutionControl()デフォルトのクラス・ロードを使用してインスタンスを作成します。
-
-
メソッドの詳細
-
clientCodeEnter
protected void clientCodeEnter()クラス:DirectExecutionControl
からコピーされた説明ユーザー・コードにエントリをマークします。- オーバーライド:
- クラス
DirectExecutionControl
のclientCodeEnter
-
clientCodeLeave
protected void clientCodeLeave()クラス:DirectExecutionControl
からコピーされた説明ユーザー・コードからの出発をマークします。- オーバーライド:
- クラス
DirectExecutionControl
のclientCodeLeave
-