ModuleFinderFileSystemClassPathModuleFinder and/or ResourceLoaderModuleFinder should be used instead for more
complete functionality.@Deprecated public final class JarModuleFinder extends java.lang.Object implements ModuleFinder
| Constructor | Description |
|---|---|
JarModuleFinder(java.lang.String myName,
java.util.jar.JarFile jarFile) |
Deprecated.
Construct a new instance.
|
JarModuleFinder(ModuleIdentifier myIdentifier,
java.util.jar.JarFile jarFile) |
Deprecated.
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
ModuleSpec |
findModule(java.lang.String name,
ModuleLoader delegateLoader) |
Deprecated.
Find a module specification for the given name.
|
findModulepublic JarModuleFinder(ModuleIdentifier myIdentifier, java.util.jar.JarFile jarFile)
myIdentifier - the identifier to use for the JAR itselfjarFile - the JAR file to encapsulatepublic JarModuleFinder(java.lang.String myName,
java.util.jar.JarFile jarFile)
myName - the name to use for the JAR itselfjarFile - the JAR file to encapsulatepublic ModuleSpec findModule(java.lang.String name, ModuleLoader delegateLoader) throws ModuleLoadException
ModuleFinderModuleFinder.findModule(ModuleIdentifier, ModuleLoader) method.findModule in interface ModuleFindername - the module namedelegateLoader - 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.