Module openj9.dtfj

Interface ILibraryResolver

All Known Implementing Classes:
CoreFileResolver, ZipFileResolver

public interface ILibraryResolver
Object for resolving libraries
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Instructs the resolver to dispose of any resources that it has created as part of the resolution process.
    getLibrary(String fileName)
    Equivalent to getLibrary(fileName, false);
    getLibrary(String fileName, boolean silent)
     
  • Method Details

    • getLibrary

      LibraryDataSource getLibrary(String fileName, boolean silent) throws FileNotFoundException
      Parameters:
      fileName - Path of the module
      silent - If true, suppress log messages if file cannot be found
      Returns:
      File handle on library on local system
      Throws:
      FileNotFoundException
    • getLibrary

      LibraryDataSource getLibrary(String fileName) throws FileNotFoundException
      Equivalent to getLibrary(fileName, false);
      Parameters:
      fileName - Path of the module
      Returns:
      File handle on library on local system
      Throws:
      FileNotFoundException
    • dispose

      void dispose()
      Instructs the resolver to dispose of any resources that it has created as part of the resolution process.