Deprecated
FileSystemClassPathModuleFinder and/or ResourceLoaderModuleFinder should be used instead for more
complete functionality.
| Modifier and Type | Field and Description |
|---|---|
| private final AccessControlContext | context
Deprecated
as a consequence of
AccessControlContext being deprecated.
|
| private final JarFile | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | JarModuleFinder(final ModuleIdentifier
the identifier to use for the JAR itself myIdentifier, final JarFile the JAR file to encapsulate jarFile)
Deprecated
as a consequence of
Construct a new instance.
ModuleIdentifier being deprecated.
|
| public | JarModuleFinder(final String
the name to use for the JAR itself myName, final JarFile the JAR file to encapsulate jarFile)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public ModuleSpec | findModule(final String
the module name name, final ModuleLoader the module loader from which dependencies should be resolved delegateLoader)Overrides default org. |
| context | back to summary |
|---|---|
| private final AccessControlContext context
Deprecated as a consequence of | |
| jarFile | back to summary |
|---|---|
| private final JarFile jarFile | |
| myName | back to summary |
|---|---|
| private final String myName | |
| JarModuleFinder | back to summary |
|---|---|
| public JarModuleFinder(final ModuleIdentifier myIdentifier, final JarFile jarFile)
Deprecated as a consequence of Construct a new instance.
| |
| JarModuleFinder | back to summary |
|---|---|
| public JarModuleFinder(final String myName, final JarFile jarFile) Construct a new instance. | |
| findModule | back to summary |
|---|---|
| public ModuleSpec findModule(final String name, final ModuleLoader delegateLoader) throws ModuleLoadException Overrides default org. Doc from org. Find a module specification for the given name. The default implementation delegates to the legacy
| |