Package | Description |
---|---|
jdk.jshell.execution |
Provides implementation support for building JShell execution engines.
|
jdk.jshell.spi |
Defines the Service Provider Interface for pluggable JShell execution engines.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectExecutionControl.addToClasspath(String cp) |
void |
LoaderDelegate.addToClasspath(String path)
Adds the path to the execution class path.
|
void |
StreamingExecutionControl.addToClasspath(String path) |
protected void |
DirectExecutionControl.clientCodeEnter()
Marks entry into user code.
|
protected void |
DirectExecutionControl.clientCodeLeave()
Marks departure from user code.
|
protected void |
RemoteExecutionControl.clientCodeLeave() |
Object |
DirectExecutionControl.extensionCommand(String command,
Object arg) |
Object |
StreamingExecutionControl.extensionCommand(String command,
Object arg) |
String |
DirectExecutionControl.invoke(String className,
String methodName) |
String |
JDIDefaultExecutionControl.invoke(String classname,
String methodname) |
String |
StreamingExecutionControl.invoke(String classname,
String methodname) |
void |
DirectExecutionControl.setClasspath(String path) |
void |
LoaderDelegate.setClasspath(String path)
Sets the execution class path to the specified path.
|
void |
StreamingExecutionControl.setClasspath(String path) |
void |
DirectExecutionControl.stop()
Interrupts a running invoke.
|
void |
JDIDefaultExecutionControl.stop()
Interrupts a running remote invoke by manipulating remote variables
and sending a stop via JDI.
|
void |
LocalExecutionControl.stop() |
void |
RemoteExecutionControl.stop() |
void |
StreamingExecutionControl.stop() |
protected String |
DirectExecutionControl.throwConvertedInvocationException(Throwable cause)
Converts incoming exceptions in user code into instances of subtypes of
ExecutionControl.ExecutionControlException and throws the
converted exception. |
protected String |
RemoteExecutionControl.throwConvertedInvocationException(Throwable cause) |
protected String |
DirectExecutionControl.throwConvertedOtherException(Throwable ex)
Converts incoming exceptions in agent code into instances of subtypes of
ExecutionControl.ExecutionControlException and throws the
converted exception. |
protected String |
RemoteExecutionControl.throwConvertedOtherException(Throwable ex) |
String |
DirectExecutionControl.varValue(String className,
String varName) |
String |
RemoteExecutionControl.varValue(String className,
String varName) |
String |
StreamingExecutionControl.varValue(String classname,
String varname) |
Modifier and Type | Class and Description |
---|---|
static class |
ExecutionControl.NotImplementedException
The command is not implemented.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionControl.addToClasspath(String path)
Adds the path to the execution class path.
|
Object |
ExecutionControl.extensionCommand(String command,
Object arg)
Run a non-standard command (or a standard command from a newer version).
|
String |
ExecutionControl.invoke(String className,
String methodName)
Invokes an executable Snippet by calling a method on the specified
wrapper class.
|
void |
ExecutionControl.setClasspath(String path)
Sets the execution class path to the specified path.
|
void |
ExecutionControl.stop()
Interrupts a running invoke.
|
String |
ExecutionControl.varValue(String className,
String varName)
Returns the value of a variable.
|
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-09-03-162606.buildd.src