Module jdk.jshell
Package jdk.jshell.execution
package jdk.jshell.execution
Provides implementation support for building JShell execution engines.
Includes concrete and abstract implementations of the
ExecutionControl interface.
Also, provides related communication utilities.
This package may be used to define alternative execution engines.
The default JShell execution engine is included.- Since:
- 9
-
ClassDescriptionAn
ExecutionControlimplementation that runs in the current process.Tries other providers in sequence until one works.The implementation ofExecutionControlthat the JShell-core uses by default.Abstract JDI implementation ofExecutionControl.A provider of remote JDI-controlled execution engines.Sets up a JDI connection, providing the resulting JDIVirtualMachineand theProcessthe remote agent is running in.This interface specifies the loading specific subset ofExecutionControl.An implementation ofExecutionControlwhich executes in the same JVM as the JShell-core.A provider of execution engines which run in the same process as JShell.The remote agent runs in the execution process (separate from the main JShell process).An implementation of theExecutionControlexecution engine SPI which streams requests to a remote agent where execution takes place.Miscellaneous utility methods for setting-up implementations ofExecutionControl.