
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 |
|---|---|
Class<?> |
loadClassLocal(String name,
boolean resolve)
Load a class which is locally defined by this loader.
|
Package |
loadPackageLocal(String name)
Load a package which is locally defined by this loader.
|
List<Resource> |
loadResourceLocal(String name)
Load a resource which is locally defined by this loader.
|
Class<?> loadClassLocal(String name, boolean resolve)
name - the class nameresolve - true to resolve the classnull if there is no local class with this namePackage loadPackageLocal(String name)
name - the package namenull if there is no local package with this nameList<Resource> loadResourceLocal(String name)
/" characters.name - the resource pathCopyright © 2017 JBoss by Red Hat. All rights reserved.