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

    Modifier and Type
    Method
    Description
    For Java applications this method returns the name of the class containing the public static void main(String[]) method.
  • Method Details

    • getMainClass

      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