Package org.jboss.modules
Class LocalModuleLoader
java.lang.Object
org.jboss.modules.ModuleLoader
org.jboss.modules.LocalModuleLoader
A local filesystem-backed module loader.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.modules.ModuleLoader
ModuleLoader.MXBeanImpl
-
Field Summary
Fields inherited from class org.jboss.modules.ModuleLoader
NO_FINDERS
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new instance, using themodule.path
system property or theJAVA_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. -
Method Summary
Methods inherited from class org.jboss.modules.ModuleLoader
addClassLoadTime, addLinkTime, findLoadedModuleLocal, findModule, forClass, forClassLoader, getDependencies, getFinders, incClassCount, incRaceCount, incScanCount, installMBeanServer, iterateModules, loadModule, loadModuleLocal, preloadExportedModule, preloadModule, preloadModule, refreshResourceLoaders, relink, setAndRefreshResourceLoaders, setAndRelinkDependencies, unloadModuleLocal
-
Constructor Details
-
LocalModuleLoader
Construct a new instance.- Parameters:
repoRoots
- the array of repository roots to look for modules
-
LocalModuleLoader
Construct a new instance.- Parameters:
repoRoots
- the array of repository roots to look for modulespathFilter
- the path filter to apply to roots
-
LocalModuleLoader
public LocalModuleLoader()Construct a new instance, using themodule.path
system property or theJAVA_MODULEPATH
environment variable to get the list of module repository roots.
-
-
Method Details
-
toString
Description copied from class:ModuleLoader
Get the string representation of this module loader.- Overrides:
toString
in classModuleLoader
- Returns:
- the string representation
-