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 |
|---|---|
| public Class | Returns: the class, ornull if there is no local class with this namethe class name name, boolean true to resolve the classLoad a class which is locally defined by this loader. |
| public Package | Returns: the package, ornull if there is no local package with this namethe package name name)Load a package which is locally defined by this loader. |
| public List | Returns: the resource or resources, or an empty list if there is no local resource with this namethe resource path name)Load a resource which is locally defined by this loader. |
| loadClassLocal | back to summary |
|---|---|
| public Class Load a class which is locally defined by this loader. | |
| loadPackageLocal | back to summary |
|---|---|
| public Package loadPackageLocal(String name) Load a package which is locally defined by this loader. | |
| loadResourceLocal | back to summary |
|---|---|
| public List Load a resource which is locally defined by this loader. The given name is a path separated
by " | |