java.lang.Object
org.jboss.modules.JDKModuleFinder
- All Implemented Interfaces:
IterableModuleFinder,ModuleFinder
-
Method Summary
Modifier and TypeMethodDescriptionfindModule(String name, ModuleLoader delegateLoader) Find a module specification for the given name.static JDKModuleFinderiterateModules(String baseName, boolean recursive, ModuleLoader delegate) Iterate the modules which can be located via this module finder.toString()
-
Method Details
-
getInstance
-
findModule
Description copied from interface:ModuleFinderFind a module specification for the given name.- Specified by:
findModulein interfaceModuleFinder- Parameters:
name- the module namedelegateLoader- the module loader from which dependencies should be resolved- Returns:
- the module specification, or
nullif no specification is found for this identifier
-
toString
-
iterateModules
Description copied from interface:IterableModuleFinderIterate the modules which can be located via this module finder.- Specified by:
iterateModulesin interfaceIterableModuleFinder- Parameters:
baseName- the identifier to start with, ornullto iterate all modules; ignored if this module loader does not have a concept of nested modulesrecursive-trueto find recursively nested modules,falseto only find immediately nested modules; ignored if this module finder does not have a concept of nested modulesdelegate- the delegate loader to query for dependency resolution- Returns:
- an iterator for the modules in this module finder
-