IterableModuleFinder
FileSystemClassPathModuleFinder
, JarModuleFinder
, JDKModuleFinder
, LocalModuleFinder
, ResourceLoaderModuleFinder
public interface ModuleFinder
Modifier and Type | Method | Description |
---|---|---|
default ModuleSpec |
findModule(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(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 identifierModuleLoadException
default 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 identifierModuleLoadException
Copyright © 2018 JBoss by Red Hat. All rights reserved.