java.lang.AutoCloseablepublic final class LocalModuleLoader extends DelegatingModuleLoader implements java.lang.AutoCloseable
NO_FINDERS| Constructor | Description | 
|---|---|
LocalModuleLoader() | 
 Construct a new instance, using the  
module.path system property or the JAVA_MODULEPATH environment variable
 to get the list of module repository roots. | 
LocalModuleLoader(java.io.File[] repoRoots) | 
 Construct a new instance. 
 | 
LocalModuleLoader(java.io.File[] repoRoots,
                 PathFilter pathFilter) | 
 Construct a new instance. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
close() | 
 Close this module loader and release all backing files. 
 | 
java.lang.String | 
toString() | 
 Get the string representation of this module loader. 
 | 
preloadModulefindLoadedModuleLocal, findLoadedModuleLocal, findModule, findModule, forClass, forClassLoader, getDependencies, getFinders, getModuleDescription, iterateModules, iterateModules, loadModule, loadModule, loadModuleLocal, loadModuleLocal, preloadExportedModule, preloadExportedModule, preloadModule, preloadModule, preloadModule, refreshResourceLoaders, relink, setAndRefreshResourceLoaders, setAndRelinkDependencies, unloadModuleLocal, unloadModuleLocalpublic LocalModuleLoader(java.io.File[] repoRoots)
repoRoots - the array of repository roots to look for modulespublic LocalModuleLoader(java.io.File[] repoRoots,
                         PathFilter pathFilter)
repoRoots - the array of repository roots to look for modulespathFilter - the path filter to apply to rootspublic LocalModuleLoader()
module.path system property or the JAVA_MODULEPATH environment variable
 to get the list of module repository roots.public java.lang.String toString()
ModuleLoadertoString in class ModuleLoaderpublic void close()
close in interface java.lang.AutoCloseableCopyright © 2022 JBoss by Red Hat. All rights reserved.