public interface LocalLoader
Thread safety warning! The loader must never call into a class loader (or any other object) which may take locks and subsequently delegate to a module class loader. This will cause deadlocks and other hard-to-debug concurrency problems.
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
loadClassLocal(java.lang.String name,
boolean resolve)
Load a class which is locally defined by this loader.
|
java.lang.Package |
loadPackageLocal(java.lang.String name)
Load a package which is locally defined by this loader.
|
java.util.List<Resource> |
loadResourceLocal(java.lang.String name)
Load a resource which is locally defined by this loader.
|
java.lang.Class<?> loadClassLocal(java.lang.String name, boolean resolve)
name
- the class nameresolve
- true
to resolve the classnull
if there is no local class with this namejava.lang.Package loadPackageLocal(java.lang.String name)
name
- the package namenull
if there is no local package with this namejava.util.List<Resource> loadResourceLocal(java.lang.String name)
/
" characters.name
- the resource path