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
ExecutionControl
implementation that runs in the current process.Tries other providers in sequence until one works.The implementation ofExecutionControl
that 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 JDIVirtualMachine
and theProcess
the remote agent is running in.This interface specifies the loading specific subset ofExecutionControl
.An implementation ofExecutionControl
which 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 theExecutionControl
execution engine SPI which streams requests to a remote agent where execution takes place.Miscellaneous utility methods for setting-up implementations ofExecutionControl
.