modules directory of a single JAR or JAR-like
root.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ResourceLoaderModuleFinder. | |
| private final String | |
| private final ResourceLoader |
| Access | Constructor and Description |
|---|---|
| public | ResourceLoaderModuleFinder(final ResourceLoader
the base resource loader to use (must not be resourceLoader, final String null)the modules directory to use (must not be modulesDirectory)null)Construct a new instance. |
| public | ResourceLoaderModuleFinder(final ResourceLoader
the base resource loader to use (must not be resourceLoader)null)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. |
| factory | back to summary |
|---|---|
| private final ResourceLoaderModuleFinder. | |
| modulesDirectory | back to summary |
|---|---|
| private final String modulesDirectory | |
| resourceLoader | back to summary |
|---|---|
| private final ResourceLoader resourceLoader | |
| ResourceLoaderModuleFinder | back to summary |
|---|---|
| public ResourceLoaderModuleFinder(final ResourceLoader resourceLoader, final String modulesDirectory) Construct a new instance. The given resource loader should support the nested
| |
| ResourceLoaderModuleFinder | back to summary |
|---|---|
| public ResourceLoaderModuleFinder(final ResourceLoader resourceLoader) Construct a new instance. The given resource loader should support the nested
| |
| 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
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ResourceLoader |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ResourceLoader | createResourceLoader(final String rootPath, final String loaderPath, final String loaderName)
Implements org. |
| resourceLoader | back to summary |
|---|---|
| private final ResourceLoader resourceLoader | |
| NestedResourceRootFactory | back to summary |
|---|---|
| pack-priv NestedResourceRootFactory(final ResourceLoader resourceLoader) | |
| createResourceLoader | back to summary |
|---|---|
| public ResourceLoader createResourceLoader(final String rootPath, final String loaderPath, final String loaderName) throws IOException Implements org. | |