クラス jdk.jshell.spi.ExecutionControl.EngineTerminationExceptionの
使用
-
ExecutionControl.EngineTerminationExceptionを使用するパッケージ パッケージ 説明 jdk.jshell.execution JShell実行エンジンを構築するための実装サポートを提供します。jdk.jshell.spi プラガブルJShell実行エンジン用のサービス・プロバイダ・インタフェースを定義します。 -
-
jdk.jshell.executionでのExecutionControl.EngineTerminationExceptionの使用
ExecutionControl.EngineTerminationExceptionをスローするjdk.jshell.executionのメソッド 修飾子と型 メソッド 説明 void
DirectExecutionControl. addToClasspath(String cp)
void
LoaderDelegate. addToClasspath(String path)
実行クラスパスにパスを追加します。void
StreamingExecutionControl. addToClasspath(String path)
protected void
DirectExecutionControl. classesRedefined(ExecutionControl.ClassBytecodes[] cbcs)
クラスが再定義されたことを通知します。Object
DirectExecutionControl. extensionCommand(String command, Object arg)
Object
StreamingExecutionControl. extensionCommand(String command, Object arg)
String
DirectExecutionControl. invoke(String className, String methodName)
String
JdiDefaultExecutionControl. invoke(String classname, String methodname)
String
StreamingExecutionControl. invoke(String classname, String methodname)
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
LocalExecutionControl. stop()
void
RemoteExecutionControl. stop()
void
StreamingExecutionControl. stop()
String
DirectExecutionControl. varValue(String className, String varName)
String
RemoteExecutionControl. varValue(String className, String varName)
String
StreamingExecutionControl. varValue(String classname, String varname)
protected VirtualMachine
JdiDefaultExecutionControl. vm()
protected abstract VirtualMachine
JdiExecutionControl. vm()
JDIVirtualMachine
インスタンスを返します。 -
jdk.jshell.spiでのExecutionControl.EngineTerminationExceptionの使用
ExecutionControl.EngineTerminationExceptionをスローするjdk.jshell.spiのメソッド 修飾子と型 メソッド 説明 void
ExecutionControl. addToClasspath(String path)
実行クラスパスにパスを追加します。Object
ExecutionControl. extensionCommand(String command, Object arg)
非標準コマンド(新しいバージョンの標準コマンド)を実行します。String
ExecutionControl. invoke(String className, String methodName)
指定されたラッパー・クラスのメソッドを呼び出すことにより、実行可能スニペットを呼び出します。void
ExecutionControl. load(ExecutionControl.ClassBytecodes[] cbcs)
新しいクラスをロードしようとします。void
ExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)
以前にロードされたクラスを再定義しようとします。void
ExecutionControl. stop()
実行中の呼び出しを中断します。String
ExecutionControl. varValue(String className, String varName)
変数の値を返します。
-