public final class LocalModuleLoader extends DelegatingModuleLoader implements AutoCloseable
NO_FINDERS
Constructor and 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(File[] repoRoots)
Construct a new instance.
|
LocalModuleLoader(File[] repoRoots,
PathFilter pathFilter)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this module loader and release all backing files.
|
String |
toString()
Get the string representation of this module loader.
|
preloadModule
findLoadedModuleLocal, findLoadedModuleLocal, findModule, findModule, forClass, forClassLoader, getDependencies, getFinders, getModuleDescription, installMBeanServer, iterateModules, iterateModules, loadModule, loadModule, loadModuleLocal, loadModuleLocal, preloadExportedModule, preloadExportedModule, preloadModule, preloadModule, preloadModule, refreshResourceLoaders, relink, setAndRefreshResourceLoaders, setAndRelinkDependencies, unloadModuleLocal, unloadModuleLocal
public LocalModuleLoader(File[] repoRoots)
repoRoots
- the array of repository roots to look for modulespublic LocalModuleLoader(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 String toString()
ModuleLoader
toString
in class ModuleLoader
public void close()
close
in interface AutoCloseable
Copyright © 2022 JBoss by Red Hat. All rights reserved.