- java.lang.Object
-
- jdk.jshell.execution.DirectExecutionControl
-
- jdk.jshell.execution.LocalExecutionControl
-
- 实现的所有接口
-
AutoCloseable
,ExecutionControl
public class LocalExecutionControl extends DirectExecutionControl
ExecutionControl
的实现,它在与JShell-core相同的JVM中执行。- 从以下版本开始:
- 9
-
-
嵌套类汇总
-
Nested classes/interfaces declared in interface jdk.jshell.spi.ExecutionControl
ExecutionControl.ClassBytecodes, ExecutionControl.ClassInstallException, ExecutionControl.EngineTerminationException, ExecutionControl.ExecutionControlException, ExecutionControl.InternalException, ExecutionControl.NotImplementedException, ExecutionControl.ResolutionException, ExecutionControl.RunException, ExecutionControl.StoppedException, ExecutionControl.UserException
-
-
构造方法摘要
构造方法 构造器 描述 LocalExecutionControl()
使用默认类加载创建实例。LocalExecutionControl(LoaderDelegate loaderDelegate)
创建一个实例,将加载程序操作委托给指定的委托。
-
方法摘要
-
声明方法的类 jdk.jshell.execution.DirectExecutionControl
classesRedefined, clientCodeEnter, clientCodeLeave, findClass, invoke, stop, throwConvertedInvocationException, throwConvertedOtherException, valueString
-
声明方法的类 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
声明方法的接口 jdk.jshell.spi.ExecutionControl
addToClasspath, close, extensionCommand, invoke, load, redefine, varValue
-
-
-
-
构造方法详细信息
-
LocalExecutionControl
public LocalExecutionControl(LoaderDelegate loaderDelegate)
创建一个实例,将加载程序操作委托给指定的委托。- 参数
-
loaderDelegate
- 处理加载类的委托
-
LocalExecutionControl
public LocalExecutionControl()
使用默认类加载创建实例。
-
-