Interface EntryPoint

  • All Known Implementing Classes:
    AppletDesc, ApplicationDesc, InstallerDesc

    public interface EntryPoint
    Provides access to the main entry point where to start a program's execution.

    Name inspired by https://en.wikipedia.org/wiki/Entry_point

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getMainClass()
      For Java applications this method returns the name of the class containing the public static void main(String[]) method.
    • Method Detail

      • getMainClass

        java.lang.String getMainClass()
        For Java applications this method returns the name of the class containing the public static void main(String[]) method. The name and/or meaning may vary as is appropriate for other types of applications.

        For Java this attribute can be omitted if the main class can be found from the Main-Class manifest entry in the main JAR file.

        Returns:
        the fully qualified name of the main entry point where to start a program's execution