Interface ModuleFinder

All Known Subinterfaces:
IterableModuleFinder
All Known Implementing Classes:
FileSystemClassPathModuleFinder, JarModuleFinder, JDKModuleFinder, LocalModuleFinder, ResourceLoaderModuleFinder

public interface ModuleFinder
A locator for module definitions.
Author:
David M. Lloyd
  • Method Summary

    Modifier and Type
    Method
    Description
    findModule(String name, ModuleLoader delegateLoader)
    Find a module specification for the given name.
  • Method Details

    • findModule

      ModuleSpec findModule(String name, ModuleLoader delegateLoader) throws ModuleLoadException
      Find a module specification for the given name.
      Parameters:
      name - the module name
      delegateLoader - the module loader from which dependencies should be resolved
      Returns:
      the module specification, or null if no specification is found for this identifier
      Throws:
      ModuleLoadException