Package org.jboss.modules
Interface ModuleFinder
-
- All Known Subinterfaces:
IterableModuleFinder
- All Known Implementing Classes:
JarModuleFinder,LocalModuleFinder
public interface ModuleFinderA locator for module definitions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModuleSpecfindModule(ModuleIdentifier identifier, ModuleLoader delegateLoader)Find a module specification for the given identifier.
-
-
-
Method Detail
-
findModule
ModuleSpec findModule(ModuleIdentifier identifier, ModuleLoader delegateLoader) throws ModuleLoadException
Find a module specification for the given identifier.- Parameters:
identifier- the module identifierdelegateLoader- the module loader from which dependencies should be resolved- Returns:
- the module specification, or
nullif no specification is found for this identifier - Throws:
ModuleLoadException
-
-