final class JarModuleLoader extends ModuleLoader
ModuleLoader.MXBeanImpl| Modifier and Type | Field and Description |
|---|---|
private ModuleLoader |
delegate |
private java.util.jar.JarFile |
jarFile |
private ModuleIdentifier |
myIdentifier |
(package private) static java.lang.String[] |
NO_STRINGS |
NO_FINDERS| Constructor and Description |
|---|
JarModuleLoader(ModuleLoader delegate,
java.util.jar.JarFile jarFile) |
| Modifier and Type | Method and Description |
|---|---|
(package private) ModuleIdentifier |
getMyIdentifier() |
protected Module |
preloadModule(ModuleIdentifier identifier)
Preload a module based on an identifier.
|
private static ModuleIdentifier |
simpleNameOf(java.util.jar.JarFile jarFile) |
java.lang.String |
toString()
Get the string representation of this module loader.
|
addClassLoadTime, addLinkTime, findLoadedModuleLocal, findModule, forClass, forClassLoader, getDependencies, getFinders, incClassCount, incRaceCount, incScanCount, installMBeanServer, iterateModules, loadModule, loadModuleLocal, preloadExportedModule, preloadModule, refreshResourceLoaders, relink, setAndRefreshResourceLoaders, setAndRelinkDependencies, unloadModuleLocalstatic final java.lang.String[] NO_STRINGS
private final ModuleLoader delegate
private final java.util.jar.JarFile jarFile
private final ModuleIdentifier myIdentifier
JarModuleLoader(ModuleLoader delegate, java.util.jar.JarFile jarFile)
private static ModuleIdentifier simpleNameOf(java.util.jar.JarFile jarFile)
protected Module preloadModule(ModuleIdentifier identifier) throws ModuleLoadException
ModuleLoaderModuleLoader.loadModuleLocal(ModuleIdentifier). A delegating module loader may delegate to the appropriate module
loader based on loader-specific criteria (via the ModuleLoader.preloadModule(ModuleIdentifier, ModuleLoader) method).preloadModule in class ModuleLoaderidentifier - the module identifiernull if the module is not foundModuleLoadException - if an error occursModuleIdentifier getMyIdentifier()
public java.lang.String toString()
ModuleLoadertoString in class ModuleLoader