public interface LoaderDelegate
ExecutionControl
. For use in encapsulating the
ClassLoader
implementation.Modifier and Type | Method | Description |
---|---|---|
void |
addToClasspath(String path) |
Adds the path to the execution class path.
|
Class<?> |
findClass(String name) |
Finds the class with the specified binary name.
|
void |
load(ExecutionControl.ClassBytecodes[] cbcs) |
Attempts to load new classes.
|
void load(ExecutionControl.ClassBytecodes[] cbcs) throws ExecutionControl.ClassInstallException, ExecutionControl.NotImplementedException, ExecutionControl.EngineTerminationException
cbcs
- the class name and bytecodes to loadExecutionControl.ClassInstallException
- exception occurred loading the classes,
some or all were not loadedExecutionControl.NotImplementedException
- if not implementedExecutionControl.EngineTerminationException
- the execution engine has terminatedvoid addToClasspath(String path) throws ExecutionControl.EngineTerminationException, ExecutionControl.InternalException
path
- the path to addExecutionControl.EngineTerminationException
- the execution engine has terminatedExecutionControl.InternalException
- an internal problem occurredClass<?> findClass(String name) throws ClassNotFoundException
name
- the binary name of the classClassNotFoundException
- if the class could not be found Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1