Module openj9.dtfj

Class JCImageModule

java.lang.Object
com.ibm.dtfj.image.javacore.JCImageModule
All Implemented Interfaces:
ImageModule

public class JCImageModule extends Object implements ImageModule
  • Constructor Details

    • JCImageModule

      public JCImageModule(String name)
  • Method Details

    • getName

      public String getName() throws CorruptDataException
      Description copied from interface: ImageModule
      Get the file name of the shared library.
      Specified by:
      getName in interface ImageModule
      Returns:
      the file name of the shared library.
      Throws:
      CorruptDataException - If the module is corrupt and the original file cannot be determined.
    • getInternalName

      public String getInternalName()
      NON-DTFJ. Used for internal building purposes. Do NOT call outside the building process. Use the DTFJ alternative instead.
    • getProperties

      public Properties getProperties() throws CorruptDataException
      Description copied from interface: ImageModule
      Get the table of properties associated with this module.
      Specified by:
      getProperties in interface ImageModule
      Returns:
      a table of properties associated with this module. Values typically defined in this table include:
      • "version" -- version information about the module
      Throws:
      CorruptDataException
    • addProperty

      public void addProperty(String key, String value)
      Parameters:
      key -
      value -
    • getSections

      public Iterator getSections()
      Description copied from interface: ImageModule
      Get the collection of sections that make up this library.
      Specified by:
      getSections in interface ImageModule
      Returns:
      a collection of sections that make up this library.
      See Also:
    • getSymbols

      public Iterator getSymbols()
      Description copied from interface: ImageModule
      Provides a collection of symbols defined by the library. This list is likely incomplete as many symbols may be private, symbols may have been stripped from the library, or symbols may not by available in the image.
      Specified by:
      getSymbols in interface ImageModule
      Returns:
      a collection of symbols which are defined by this library.
      See Also:
    • addSymbol

      public void addSymbol(ImageSymbol symbol)
    • getLoadAddress

      public long getLoadAddress() throws DataUnavailable
      Description copied from interface: ImageModule
      Get the address at which the module or executable was loaded.
      Specified by:
      getLoadAddress in interface ImageModule
      Returns:
      the address
      Throws:
      DataUnavailable