Package org.jboss.modules
Interface ModuleFinder
-
- All Known Subinterfaces:
IterableModuleFinder
- All Known Implementing Classes:
JarModuleFinder
,LocalModuleFinder
public interface ModuleFinder
A locator for module definitions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModuleSpec
findModule(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
null
if no specification is found for this identifier - Throws:
ModuleLoadException
-
-