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
-