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
-
Related PackagesPackageDescriptionProvides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.Defines the Service Provider Interface for pluggable JShell execution engines.Provides a mechanism to launch an instance of a Java shell tool.
-
Interface Summary
-
Class SummaryClassDescriptionAn
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.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.