IterableModuleFinderFileSystemClassPathModuleFinder, JarModuleFinder, JDKModuleFinder, LocalModuleFinder, ResourceLoaderModuleFinderpublic interface ModuleFinder
| Modifier and Type | Method | Description |
|---|---|---|
default ModuleSpec |
findModule(java.lang.String name,
ModuleLoader delegateLoader) |
Find a module specification for the given name.
|
default ModuleSpec |
findModule(ModuleIdentifier moduleIdentifier,
ModuleLoader delegateLoader) |
Find a module specification for the given identifier.
|
default ModuleSpec findModule(java.lang.String name, ModuleLoader delegateLoader) throws ModuleLoadException
findModule(ModuleIdentifier, ModuleLoader) method.name - the module namedelegateLoader - the module loader from which dependencies should be resolvednull if no specification is found for this identifierModuleLoadExceptiondefault ModuleSpec findModule(ModuleIdentifier moduleIdentifier, ModuleLoader delegateLoader) throws ModuleLoadException
null. This
method will never be called by the module system unless findModule(String, ModuleLoader) is left
unimplemented.moduleIdentifier - the module identifierdelegateLoader - the module loader from which dependencies should be resolvednull if no specification is found for this identifierModuleLoadExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.