Uses of Interface
jdk.jshell.spi.ExecutionControl
Package
Description
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
-
Uses of ExecutionControl in jdk.jshell.execution
Modifier and TypeClassDescriptionclass
AnExecutionControl
implementation that runs in the current process.class
The implementation ofExecutionControl
that the JShell-core uses by default.class
Abstract JDI implementation ofExecutionControl
.class
An implementation ofExecutionControl
which executes in the same JVM as the JShell-core.class
The remote agent runs in the execution process (separate from the main JShell process).class
An implementation of theExecutionControl
execution engine SPI which streams requests to a remote agent where execution takes place.Modifier and TypeMethodDescriptionFailOverExecutionControlProvider.generate
(ExecutionEnv env, Map<String, String> parameters) Create and return a locally executingExecutionControl
instance.JdiExecutionControlProvider.generate
(ExecutionEnv env, Map<String, String> parameters) LocalExecutionControlProvider.generate
(ExecutionEnv env, Map<String, String> parameters) Create and return a locally executingExecutionControl
instance.static ExecutionControl
Util.remoteInputOutput
(InputStream input, OutputStream output, Map<String, OutputStream> outputStreamMap, Map<String, InputStream> inputStreamMap, BiFunction<ObjectInput, ObjectOutput, ExecutionControl> factory) Creates an ExecutionControl for given packetized input and output.Modifier and TypeMethodDescriptionstatic void
Util.forwardExecutionControl
(ExecutionControl ec, ObjectInput in, ObjectOutput out) Forward commands from the input to the specifiedExecutionControl
instance, then responses back on the output.static void
Util.forwardExecutionControlAndIO
(ExecutionControl ec, InputStream inStream, OutputStream outStream, Map<String, Consumer<OutputStream>> outputStreamMap, Map<String, Consumer<InputStream>> inputStreamMap) Forward commands from the input to the specifiedExecutionControl
instance, then responses back on the output.Modifier and TypeMethodDescriptionstatic ExecutionControl
Util.remoteInputOutput
(InputStream input, OutputStream output, Map<String, OutputStream> outputStreamMap, Map<String, InputStream> inputStreamMap, BiFunction<ObjectInput, ObjectOutput, ExecutionControl> factory) Creates an ExecutionControl for given packetized input and output. -
Uses of ExecutionControl in jdk.jshell.spi
Modifier and TypeMethodDescriptionstatic ExecutionControl
ExecutionControl.generate
(ExecutionEnv env, String spec) Search for a provider, then create and return theExecutionControl
instance.static ExecutionControl
Search for a provider, then create and return theExecutionControl
instance.ExecutionControlProvider.generate
(ExecutionEnv env, Map<String, String> parameters) Create and return theExecutionControl
instance.