java.lang.Object
jdk.jshell.execution.DirectExecutionControl
jdk.jshell.execution.LocalExecutionControl
- 所有已实现的接口:
AutoCloseable,ExecutionControl
ExecutionControl 的实现,它在与 JShell 核心相同的 JVM 中执行。
- 自从:
- 9
-
内部类总结
在接口 jdk.jshell.spi.ExecutionControl 中声明的嵌套类/接口
ExecutionControl.ClassBytecodes, ExecutionControl.ClassInstallException, ExecutionControl.EngineTerminationException, ExecutionControl.ExecutionControlException, ExecutionControl.InternalException, ExecutionControl.NotImplementedException, ExecutionControl.ResolutionException, ExecutionControl.RunException, ExecutionControl.StoppedException, ExecutionControl.UserException -
构造方法总结
构造方法 -
方法总结
在类 jdk.jshell.execution.DirectExecutionControl 中声明的方法
addToClasspath, classesRedefined, close, extensionCommand, findClass, invoke, invoke, load, redefine, stop, throwConvertedInvocationException, throwConvertedOtherException, valueString, varValue
-
构造方法详细信息
-
LocalExecutionControl
创建一个实例,将加载器操作委托给指定的委托。- 参数:
loaderDelegate- 处理加载类的委托
-
LocalExecutionControl
public LocalExecutionControl()使用默认类加载创建实例。
-
-
方法详情
-
clientCodeEnter
protected void clientCodeEnter()从类复制的描述:DirectExecutionControl标记进入用户代码。- 重写:
clientCodeEnter在类DirectExecutionControl中
-
clientCodeLeave
protected void clientCodeLeave()从类复制的描述:DirectExecutionControl标记偏离用户代码。- 重写:
clientCodeLeave在类DirectExecutionControl中
-