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
- 
コンストラクタの詳細- 
LocalExecutionControlpublic LocalExecutionControl(LoaderDelegate loaderDelegate)指定されたデリゲートにローダー操作を委譲するインスタンスを作成します。- パラメータ:
- loaderDelegate- デリゲートがロード・クラスを処理
 
- 
LocalExecutionControlpublic LocalExecutionControl()デフォルトのクラス・ローディングを使用してインスタンスを作成します。
 
- 
- 
メソッドの詳細- 
clientCodeEnterprotected void clientCodeEnter()クラスからコピーされた説明:DirectExecutionControlユーザー・コードへのエントリをマークします。- オーバーライド:
- クラスDirectExecutionControlのclientCodeEnter
 
- 
clientCodeLeaveprotected void clientCodeLeave()クラスからコピーされた説明:DirectExecutionControlユーザー・コードから出発します。- オーバーライド:
- クラスDirectExecutionControlのclientCodeLeave
 
 
-