Class Boot

java.lang.Object
net.sourceforge.jnlp.runtime.Boot
All Implemented Interfaces:
PrivilegedAction<Integer>

public final class Boot extends Object implements PrivilegedAction<Integer>
This is the main entry point for the JNLP client. The main method parses the command line parameters and loads a JNLP file into the secure runtime environment. This class is meant to be called from the command line or file association; to initialize the netx engine from other code invoke the JNLPRuntime.initialize() method after configuring the runtime.
Version:
$Revision: 1.21 $
Author:
Jon A. Maxwell (JAM) - initial author
  • Field Details

    • version

      public static final String version
  • Constructor Details

    • Boot

      public Boot()
  • Method Details

    • main

      public static void main(String[] args)
      Launch the JNLP file specified by the command-line arguments.
      Parameters:
      args - launching arguments
    • mainWithReturnCode

      public static int mainWithReturnCode(String[] args)
      Launch the JNLP file specified by the command-line arguments. This method is only public for integration testing. You should not call this method !!
      Parameters:
      args - launching arguments
      Returns:
      the return code. 0 = SUCCESS anything else is an error
    • run

      public Integer run()
      The privileged part (jdk1.3 compatibility).
      Specified by:
      run in interface PrivilegedAction<Integer>