Package org.jboss.modules
Class LocalModuleLoader
- java.lang.Object
-
- org.jboss.modules.ModuleLoader
-
- org.jboss.modules.LocalModuleLoader
-
public final class LocalModuleLoader extends ModuleLoader
A local filesystem-backed module loader.- Author:
- John Bailey, David M. Lloyd
-
-
Field Summary
-
Fields inherited from class org.jboss.modules.ModuleLoader
NO_FINDERS
-
-
Constructor Summary
Constructors Constructor Description LocalModuleLoader()Construct a new instance, using themodule.pathsystem property or theJAVA_MODULEPATHenvironment 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Get the string representation of this module loader.-
Methods inherited from class org.jboss.modules.ModuleLoader
findLoadedModuleLocal, findModule, forClass, forClassLoader, getDependencies, getFinders, iterateModules, loadModule, loadModuleLocal, preloadExportedModule, preloadModule, preloadModule, refreshResourceLoaders, relink, setAndRefreshResourceLoaders, setAndRelinkDependencies, unloadModuleLocal
-
-
-
-
Constructor Detail
-
LocalModuleLoader
public LocalModuleLoader(File[] repoRoots)
Construct a new instance.- Parameters:
repoRoots- the array of repository roots to look for modules
-
LocalModuleLoader
public LocalModuleLoader(File[] repoRoots, PathFilter pathFilter)
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.pathsystem property or theJAVA_MODULEPATHenvironment variable to get the list of module repository roots.
-
-
Method Detail
-
toString
public String toString()
Description copied from class:ModuleLoaderGet the string representation of this module loader.- Overrides:
toStringin classModuleLoader- Returns:
- the string representation
-
-