クラスjdk.jshell.spi.ExecutionControl.EngineTerminationExceptionの
使用
パッケージ
説明
JShell実行エンジンを構築するための実装サポートを提供します。
プラガブルなJShell実行エンジンのサービス・プロバイダ・インタフェースを定義します。
-
jdk.jshell.executionでのExecutionControl.EngineTerminationExceptionの使用
修飾子と型メソッド説明void
DirectExecutionControl.addToClasspath
(String cp) void
LoaderDelegate.addToClasspath
(String path) 実行クラス・パスにパスを追加します。void
StreamingExecutionControl.addToClasspath
(String path) protected void
DirectExecutionControl.classesRedefined
(ExecutionControl.ClassBytecodes[] cbcs) クラスが再定義されたことを通知します。DirectExecutionControl.extensionCommand
(String command, Object arg) StreamingExecutionControl.extensionCommand
(String command, Object arg) void
DirectExecutionControl.load
(ExecutionControl.ClassBytecodes[] cbcs) void
LoaderDelegate.load
(ExecutionControl.ClassBytecodes[] cbcs) 新しいクラスをロードしようとします。void
StreamingExecutionControl.load
(ExecutionControl.ClassBytecodes[] cbcs) void
DirectExecutionControl.redefine
(ExecutionControl.ClassBytecodes[] cbcs) void
JdiExecutionControl.redefine
(ExecutionControl.ClassBytecodes[] cbcs) 指定されたクラスを再定義します。void
RemoteExecutionControl.redefine
(ExecutionControl.ClassBytecodes[] cbcs) リモート・エンドでの処理の再定義は、再定義されたクラスの登録のみですvoid
StreamingExecutionControl.redefine
(ExecutionControl.ClassBytecodes[] cbcs) void
DirectExecutionControl.stop()
実行中の呼出しを中断します。void
JdiDefaultExecutionControl.stop()
リモート変数を操作し、JDI経由で停止を送信することで、実行中のリモート呼出しを中断します。void
RemoteExecutionControl.stop()
void
StreamingExecutionControl.stop()
protected VirtualMachine
JdiDefaultExecutionControl.vm()
protected abstract VirtualMachine
JdiExecutionControl.vm()
JDIVirtualMachine
インスタンスを返します。 -
jdk.jshell.spiでのExecutionControl.EngineTerminationExceptionの使用
修飾子と型メソッド説明void
ExecutionControl.addToClasspath
(String path) 実行クラス・パスにパスを追加します。ExecutionControl.extensionCommand
(String command, Object arg) 非標準コマンド(新しいバージョンの標準コマンド)を実行します。指定されたラッパー・クラスのメソッドをコールして、実行可能スニペットを起動します。void
ExecutionControl.load
(ExecutionControl.ClassBytecodes[] cbcs) 新しいクラスをロードしようとします。void
ExecutionControl.redefine
(ExecutionControl.ClassBytecodes[] cbcs) 以前にロードされたクラスの再定義を試みます。void
ExecutionControl.stop()
実行中の呼出しを中断します。変数の値を返します。