Package org.jboss.modules
Class JDKModuleFinder
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) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.modules.IterableModuleFinder
iterateModules, iterateModulesMethods inherited from interface org.jboss.modules.ModuleFinder
findModule
-
Method Details
-
getInstance
-
findModule
Description copied from interface:ModuleFinderFind a module specification for the given name. The default implementation delegates to the legacyModuleFinder.findModule(ModuleIdentifier, ModuleLoader)method for now, however this behavior will be discontinued in the future.- 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
- Specified by:
iterateModulesin interfaceIterableModuleFinder
-