クラス 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のメソッド 修飾子と型 メソッド 説明 voidDirectExecutionControl. addToClasspath(String cp)voidLoaderDelegate. addToClasspath(String path)実行クラスパスにパスを追加します。voidStreamingExecutionControl. addToClasspath(String path)protected voidDirectExecutionControl. classesRedefined(ExecutionControl.ClassBytecodes[] cbcs)クラスが再定義されたことを通知します。ObjectDirectExecutionControl. extensionCommand(String command, Object arg)ObjectStreamingExecutionControl. extensionCommand(String command, Object arg)StringDirectExecutionControl. invoke(String className, String methodName)StringJdiDefaultExecutionControl. invoke(String classname, String methodname)StringStreamingExecutionControl. invoke(String classname, String methodname)voidDirectExecutionControl. load(ExecutionControl.ClassBytecodes[] cbcs)voidLoaderDelegate. load(ExecutionControl.ClassBytecodes[] cbcs)新しいクラスをロードしようとします。voidStreamingExecutionControl. load(ExecutionControl.ClassBytecodes[] cbcs)voidDirectExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)voidJdiExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)指定されたクラスを再定義します。voidRemoteExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)リモート・エンドでの処理の再定義は、再定義されたクラスの登録のみですvoidStreamingExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)voidDirectExecutionControl. stop()実行中の呼び出しを中断します。voidJdiDefaultExecutionControl. stop()実行中のリモート呼び出しを中断する。リモート変数を操作し、JDI経由で停止を送信します。voidLocalExecutionControl. stop()voidRemoteExecutionControl. stop()voidStreamingExecutionControl. stop()StringDirectExecutionControl. varValue(String className, String varName)StringRemoteExecutionControl. varValue(String className, String varName)StringStreamingExecutionControl. varValue(String classname, String varname)protected VirtualMachineJdiDefaultExecutionControl. vm()protected abstract VirtualMachineJdiExecutionControl. vm()JDIVirtualMachineインスタンスを返します。 -
jdk.jshell.spiでのExecutionControl.EngineTerminationExceptionの使用
ExecutionControl.EngineTerminationExceptionをスローするjdk.jshell.spiのメソッド 修飾子と型 メソッド 説明 voidExecutionControl. addToClasspath(String path)実行クラスパスにパスを追加します。ObjectExecutionControl. extensionCommand(String command, Object arg)非標準コマンド(新しいバージョンの標準コマンド)を実行します。StringExecutionControl. invoke(String className, String methodName)指定されたラッパー・クラスのメソッドを呼び出すことにより、実行可能スニペットを呼び出します。voidExecutionControl. load(ExecutionControl.ClassBytecodes[] cbcs)新しいクラスをロードしようとします。voidExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)以前にロードされたクラスを再定義しようとします。voidExecutionControl. stop()実行中の呼び出しを中断します。StringExecutionControl. varValue(String className, String varName)変数の値を返します。
-